Jose's Read Only Forum 2023

IT-Consultant: Charles Pegge => OxygenBasic => Topic started by: James C. Fuller on October 04, 2022, 02:53:29 PM

Title: latest version
Post by: James C. Fuller on October 04, 2022, 02:53:29 PM
Charles,
   Did you forget to update the version on your last upload.
According to oxylog.txt you had changes on 03/10/2022 and 02/10/2022
   but this is what I get for print "o2 version  : " version() cr

  o2 version  : 0.5.0 2022-10-01T05:03:55

James
Title: Re: latest version
Post by: Charles Pegge on October 04, 2022, 05:12:38 PM
It's okay James, my last updates were mostly lib source file fixes. But the o2 time stamper is not automated yet, so it is not always accurate!
Title: Re: latest version
Post by: Roland Stowasser on October 06, 2022, 02:52:23 PM
Hi Charles,

you improved the printl function in console.inc by changing the order of cr. This requires some changes in some demo programs. I have corrected the corresponding programs from version 050P10 in the !ProjB\Console folder and attached them as a zip file. The zip file contains only the modified programs.

In NonBlockingCons.o2bas the statement:
    CONST int MAXRECORD = 8
had to be replaced with:
    % MAXRECORD = 8

I don't know if other programs are affected because of the new behaviour of printl. But I have only started to check the new O2 compilation.

Roland
Title: Re: latest version
Post by: Charles Pegge on October 06, 2022, 06:16:43 PM
Hi Roland,

Thank you for the corrections, and Welcome aboard!

Only static array dimensioning, and equates containing consts are affected.

In the current version, constants are defined at run-time with a once-only assignment. This allows variables of any type to be defined as constant. But the fixed values are no longer determined at compile-time.

I did not find any other affected programs, apart from Ed's interpreter, which we fixed previously.

PS:

I've returned it to the original compile-time constants. There were too many issues with the new definition. So no more trouble dimensioning static arrays.

https://github.com/Charles-Pegge/OxygenBasic/blob/master/OxygenBasic050P11.zip

Title: Re: latest version
Post by: Chris Chancellor on October 07, 2022, 05:01:27 PM
Welcome Roland,   thanxx a lot for joining the O2 forum here.
How are you ?
Regards
Chris
Title: Re: latest version
Post by: Roland Stowasser on October 08, 2022, 03:37:00 AM
Hi Chris,

in recent years, for family reasons, I have unfortunately not been able to deal with the topics that actually interest me. And I have found that I have to relearn many things about Oxygenbasic, which will take some time.

Roland