PicoMite V6.00.02 release candidates - all versions


Author Message
toml_12953
Guru

Joined: 13/02/2015
Location: United States
Posts: 601
Posted: 08:46am 06 Jun 2025      

  Mixtel90 said  I can't understand why you would even consider having executable code in the Library, especially trying to Chain to it as the Library routines (like all well-behaved subroutines and functions) should all be using their own local variables so there's no need for them to access the variables area of the previous program. The only reason to try that I can see is to see if it breaks. :)


I like to initialize constants to be used in every program such as TRUE=-1, FALSE=0, etc. I also like to set OPTION BASE 1, OPTION ESCAPE and other temporary options.
The only problem is declaring the constants but now I get around it by doing this:

ON ERROR SKIP 2
CONST TRUE=-1
CONST FALSE=0
OPTION ESCAPE
OPTION BASE 1
  :
  :
  :