Author Topic: latest version  (Read 550 times)

0 Members and 1 Guest are viewing this topic.

Offline James C. Fuller

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 599
  • User-Rate: +11/-8
latest version
« 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

Online Charles Pegge

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 895
  • User-Rate: +33/-1
    • Charles Pegge
Re: latest version
« Reply #1 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!

Offline Roland Stowasser

  • Newbie
  • *
  • Posts: 28
  • User-Rate: +1/-0
Re: latest version
« Reply #2 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
« Last Edit: October 06, 2022, 02:54:52 PM by Roland Stowasser »

Online Charles Pegge

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 895
  • User-Rate: +33/-1
    • Charles Pegge
Re: latest version
« Reply #3 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

« Last Edit: October 07, 2022, 01:04:16 PM by Charles Pegge »

Offline Chris Chancellor

  • Sr. Member
  • ****
  • Posts: 349
  • User-Rate: +0/-0
Re: latest version
« Reply #4 on: October 07, 2022, 05:01:27 PM »
Welcome Roland,   thanxx a lot for joining the O2 forum here.
How are you ?
Regards
Chris

Offline Roland Stowasser

  • Newbie
  • *
  • Posts: 28
  • User-Rate: +1/-0
Re: latest version
« Reply #5 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