PicoMite V6.00.02 release candidates - all versions


Author Message
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 1109
Posted: 03:21am 06 Jun 2025      

  toml_12953 said  
When I run prog1, I get
[LIBRARY] const true=-1
Error : true variable already declared

I do have TRUE declared in my library but why is CHAIN trying to rerun the library commands?

Peter,
What do you think about the CHAIN command not running the normal code in the library. All other resources in the library (SUBs,FUNCTIONs,FONTs CSUBs) are still available to the chained program just the normal code it not run. The FLASH CHAIN command does not run the normal code. i.e. comment this line in do_chain()


if(Option.LIBRARY_FLASH_SIZE == MAX_PROG_SIZE) ExecuteProgram(LibMemory );  // run anything that might be in the library


Gerry