Toshiba KB-80 사용자 설명서

다운로드
페이지 79
- 69 -
TIMER ON/STOP
Function
Enables/Stops a timer interrupt.
Format
TIMER ON
TIMER STOP
Explanation
The interrupt specified by the ON TIMER statement is enabled by the TIMER ON
statement, or stopped by the TIMER STOP statement.
Before TIMER ON/STOP statements are executed, the interrupt process declaration
should be made by the ON TIMER statement.
The TIMER ON statement enables the timer interrupt.  When a timer interrupt occurs
after the statement is executed, the process routine specified by the ON TIMER
statement is executed.
The TIMER STOP statement does not execute the interrupt process immediately
when a timer interrupt occurs.  However, up to one interrupt is stored.  The interrupt
process is executed just when the TIMER ON statement is executed later.