FOREVER
From STX Wiki
Jump to navigationJump to search
The FOREVER
, or DO FOREVER
, statement starts a, potentially infinite, loop. The commands between FOREVER
or DO FOREVER
and the corresponding END
statement are being executed forever, or until execution of the loop gets interrupted by other means, e.g. by S_TOOLS-STx crashing, a BREAK
statement being encountered, or an EXIT
, or a GOTO statement being executed.
FOREVER
or
DO FOREVER
Cave: If you do not use a BREAK
,EXIT
, or GOTO command for interrupting the loop, it may run for a really long time.