Stop a timer
stoptimer timer
Stops the timer: functions, instructions lists and signals associated with the timer are no longer triggered.
Example:
make "t timer [print :iter] 500
to onkeydown :code :key
print :key
if :code = 27 [stoptimer :t]
end
Output:
Timer is active until "Esc" key is pressed while the graphics window is active.
1
2
3
4
Escape
See also:
Table of Content