DO FOREVER, statement starts a, potentially infinite, loop. The commands between
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 STx crashing, a
BREAK statement being encountered, or an
EXIT, or a GOTO statement being executed.