
RPBASIC-52 PROGRAMMING GUIDE
2-46
IDLE
Syntax: IDLE [option]
Where: option specifies a card dependent mode.
Function: Suspends program execution and w aits for an interrupt.
Mode: RUN
Use: IDLE
Cards: All. Variations are card dependent.
DESCRIPTION
Different cards have a variety of parameters. Refer to your hardware manual for more information.
Use this command to suspend program execution and wait for an interrupt. An interrupt is from an ONTICK,
ONITR, ON COUN T, ON CO M$, ON LINE , or ON KEYPAD command.
RELATED none
ERRORS none
EXAMPLE
10 ONITR 0,1000
.
. Other initialization
.
200 IDLE Wait for interrupt
.
. On exit from idle, continue program
.
1000 RETI Simply exit
Komentáře k této Příručce