FANDOM



:isClkOn()

This returns true if the clock is on, and false if the clock is off.

ExampleEdit

:isClkOn()→wasClkOn
:ClockOn
:startTmr()→timer
:Disp "WAITING"
:While checkTmr(timer) < 10:EndWhile
:Disp "DONE"
:If wasClkOn:Then
::ClockOn
:Else
::ClockOff
:EndIf

This program waits 10 seconds before ending. It also prevents an infinite loop by turning the clock on before starting the timer. It then restores the state of the clock to it's state before the program ran.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.