"Forever" loop
forever [instructions]
Infinite loop which executes instructions from a list. Loop can be stooped with instructions:
break
, stop
,
output
or destroy
.
Example:
The following loop does not contain any breaking instructions. It is neccessary to enable option
Expression break detection to allow termination of the program with the button Stop (Shift+F5).
forever [print repcount wait 200]
Output:
1
2
3
4
5
...
See also:
Loop instructions
Table of Content