Interactive PowerBasic Forum

IT-Consultant: Charles Pegge => OxygenBasic => Topic started by: Charles Pegge on July 25, 2024, 06:17:39 AM

Title: OxygenBasic Update / Built-in tab spc cr qu
Post by: Charles Pegge on July 25, 2024, 06:17:39 AM
These are now predefined as macros, and any duplicate definitions have been removed from the inc and demo files. You no longer have to define them in your code.

But they can still be redefined, if required to do so.
Title: Re: OxygenBasic Update / Built-in tab spc cr qu
Post by: James C. Fuller on July 26, 2024, 12:08:41 PM
Charles,
  Issue with latest upload.
this is the command I use and has worked for quite awhile.

cO2m64 -m -64 cFileIO

==============================================================================
results from latest:

cO2m64 -m -64 cFileIO

ERROR:   not found
WORD:    use
COL:    1
LINE:    4
FILE:    "cfileio.o2bas"

Error(s) occured.

Line 4 is:

use rtl64


James
Title: Re: OxygenBasic Update / Built-in tab spc cr qu
Post by: James C. Fuller on July 26, 2024, 12:11:38 PM
Found the issue:
use no longer recognized

If I change it to uses it appears to be ok.

James
Title: Re: OxygenBasic Update / Built-in tab spc cr qu
Post by: James C. Fuller on July 26, 2024, 12:18:10 PM
I should not post until I do more checking.

Exe is not created

James
Title: Re: OxygenBasic Update / Built-in tab spc cr qu
Post by: Charles Pegge on July 26, 2024, 01:44:47 PM
Hi James,

I've fixed the use problem. use uses using are all recognized. But I'm not sure this fix was carried through to the 64bit oxygen. So I have rerun the build and just reposted.

PS:
I have a new Broadband service based on fibre and a 5G link to my house. The upload time for OxygenBasic.zip (6meg)  is about 1 second  :o
Title: Re: OxygenBasic Update / Built-in tab spc cr qu
Post by: James C. Fuller on July 26, 2024, 03:56:15 PM
Charles,
   Much Better.
I just ran a speed test:
273 Mbps down
22.2 Mbps up
It is supposed to go up at the end of the month; no extra charge.

James
Title: Re: OxygenBasic Update / Built-in tab spc cr qu
Post by: Roland Stowasser on July 30, 2024, 11:14:15 AM
Hi Charles,

there are some demos which depend on Stringutil.inc e.g.: TextObject.o2bas, SortTextLines.o2bas, ReadSpecifiedLine.o2bas. There is an error message:

Unknown type
Word 13
Col      3
Line    25
File    stringutil.inc

If I comment:

/*
  string cr,tab,qu,sp,cm
  cr=chr(13,10)
  tab=chr(9)
  qu=chr(34)
  sp=chr(32)
  cm=chr(44)
*/

the apps will run ok. But I am unsure. In your message you mentioned that these types could be still redefined, so there should be no error message?
Title: Re: OxygenBasic Update / Built-in tab spc cr qu
Post by: Charles Pegge on July 31, 2024, 05:46:57 AM
Hi Roland,

I've fixed the problem in Oxygen.dll. It was a syntax conflict caused by C-style header macro detection. It should now be possible to redefine these variables anywhere.

Many thanks
Title: Re: OxygenBasic Update / Built-in tab spc cr qu
Post by: Nicola on August 01, 2024, 12:37:30 AM
Hi Charles.
Thank you for your valuable work.
I wanted to tell you that I encountered this error when compiling 64/32 bit of a program that uses FileDialog.inc.
It must be said that the program works correctly if I use it directly with F5.
Cheers
Title: Re: OxygenBasic Update / Built-in tab spc cr qu
Post by: Charles Pegge on August 01, 2024, 10:04:58 AM
Hi Nicola,

Yes I see the problem has not been fully resolved. 'Filename' was the symptom.

I have just uploaded another Oxygen which should fix it.
Title: Re: OxygenBasic Update / Built-in tab spc cr qu
Post by: Nicola on August 01, 2024, 08:35:20 PM
it's ok now
 :)