Problem in BASCtools 5.16?

Questions about the BASICtools and MakeItC
Post Reply
rhilbish
Posts: 5
Joined: Sat Feb 16, 2013 1:56 pm

Problem in BASCtools 5.16?

Post by rhilbish »

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.



basicchip
Posts: 1090
Joined: Fri Oct 19, 2012 2:39 am
Location: Weeki Watchee, FL
Contact:

Re: Problem in BASCtools 5.16?

Post by basicchip »

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

Post Reply