MAKES INACTIVE THE SYSTEM OBJECT TIMER NUMBER N
ACTION
The command TIMER_OFF N makes inactive the system object TIMER designated by its number N: the TIMER will not trigger any longer periodically.
SYNTAX:
TIMER_OFF N
USE ERROR EXAMPLE
rem each second, displays a number from 1 to 10 then stops
label count
dim i%
rem create a TIMER
timer 1
on_timer 1,count
end
count:
i%=i%+1
print i%
if i%=10 then timer_off 1
return
TIMER_OFF
TIMER_OFF N
SEE ALSO
TIMER
ON_TIMER
TIMER_INTERVAL
TIMER_OFF_ALL
TIMER_ON