OxygenBasic Update / Built-in tab spc cr qu

Started by Charles Pegge, July 25, 2024, 06:17:39 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Charles Pegge

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.

James C. Fuller

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

James C. Fuller

Found the issue:
use no longer recognized

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

James

James C. Fuller

I should not post until I do more checking.

Exe is not created

James

Charles Pegge

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

James C. Fuller

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

Roland Stowasser

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?

Charles Pegge

#7
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

Nicola

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

Charles Pegge

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.