Powerbasic Museum 2020-B

IT-Consultant: Charles Pegge => OxygenBasic => Topic started by: James C. Fuller on June 22, 2019, 08:16:30 PM

Title: issue with the latest version 0.2.1
Post by: James C. Fuller on June 22, 2019, 08:16:30 PM
Charles,
   Compiles fine but does not run with the latest version 0.2.1
Works fine with 0.2.0
Put ztrace.inc in your inc folder and the dll in your path.
Don't forget to link res to exe.

James
Title: Re: issue with the latest version 0.2.1
Post by: James C. Fuller on June 23, 2019, 06:19:01 PM
Charles,
  I tracked it down to the TextArray load method.

James

use rtl64
use console
use stringutil

macro pause
    printl "press any key" cr
    waitkey
end macro

Function main()
    sys items,i
    new TextArray ta
    ta.load("CountriesTxt.txt")
    items = ta.lastline
    printl items
    del ta

    pause
End Function
main()
Title: Re: issue with the latest version 0.2.1
Post by: Charles Pegge on June 23, 2019, 08:06:01 PM
Hi James,

It was an RTL64 problem. I hope this will resolve it:
Title: Re: issue with the latest version 0.2.1
Post by: James C. Fuller on June 24, 2019, 02:53:56 PM
Charles,
  I downloaded the new git package and all seems fine.
I did notice you did not update version in the latest upload. I know you did not change the dll but ....
it does help to know what complete upload I am using  as I test.
James
Title: Re: issue with the latest version 0.2.1
Post by: Charles Pegge on June 24, 2019, 03:51:06 PM
Hi James,

For minor changes and corrections, only the version DateTimeStamp will alter.

Note that RTL32.inc and RTL64.inc are now o2version-specific, and will report an error if used with the wrong o2.

This may be useful for other components:

  $ rtlversion "0.2.1"
  '
  #if not match(rtlversion,o2version)
     #error "RTL version mismatches o2 version "+o2version
  #endif