A SERVICE OF

logo

6 - 76
When the end step is executed before the start step
The start step is specified as the next step of the CALL instruction and the end step is
specified in a subroutine program executed by the CALL instruction.
When the start step is executed continuously
Only the start step is specified between the FOR and NEXT instructions.
Example
0
3
5
6
9
P0
End step: 8
Start step: 3
FEND
CALL P0
RET
The start step is executed
after the end step due to the
CALL instruction.
Example
3
6
8
10
11
End step: 13
Start step: 8
FOR K2
NEXT
"The start step is executed
continuously since it is specified
between the FOR and NEXT
instructions."