![]() |
Retro Rocket OS
BASIC-Powered Operating System
|
Marks the end of a FOR loop body. When execution reaches NEXT, the loop variable is adjusted by the STEP amount (or by 1 if no STEP was given) and the loop condition is tested. If the end condition has not been met, control continues with the next iteration; otherwise the loop finishes and execution proceeds after NEXT.
Count up by 1
Count down with a negative step
Custom step
Nested loops