Problem in BASCtools 5.16?
Problem in BASCtools 5.16?
I just downloaded the latest version of BASICtools (About identifies the version as "ARMBasic [8.22c] on the PC. BACICtools [5.16] is freeware...."). When I attempt to run a Basic program that has compiled and executed fine under the previous version, I now get the error message "ERROR: C:/Program Files/Coridium/BASIClib/RTC.bas: 124: Duplicate Name, found SLEEP(x)". My program includes "RTC.bas" and "String.bas"; I do not define SLEEP anywhere in my program. Line 124 is indeed the line that defines SLEEP in RTC.bas. That is the only definition of sleep that I can find. Is this a problem in BACSICtools? Would appreciate any suggestions.
Re: Problem in BASCtools 5.16?
SLEEP is now a reserved word in BASIC, and is used to emit a WFI instruction whis puts the CPU. Into a low power state.
The new RTC.bas file renames that routine IDLE, rather than sleep
The new RTC.bas file renames that routine IDLE, rather than sleep