• Welcome to Powerbasic Museum 2020-B.
 

News:

Forum in repository mode. No new members allowed.

Main Menu

issue with the latest version 0.2.1

Started by James C. Fuller, June 22, 2019, 08:16:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

James C. Fuller

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

James C. Fuller

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()

Charles Pegge

Hi James,

It was an RTL64 problem. I hope this will resolve it:

James C. Fuller

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

Charles Pegge

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