mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-20 09:04:43 +00:00
14 lines
176 B
QBasic
14 lines
176 B
QBasic
|
$Console:Only
|
||
|
|
||
|
On Timer(2) GoSub timerhand
|
||
|
Timer On
|
||
|
|
||
|
' The timer triggering should end sleep early, so it only triggers once
|
||
|
Sleep 10
|
||
|
|
||
|
System
|
||
|
|
||
|
timerhand:
|
||
|
Print "Timer!"
|
||
|
return
|