EXIT

This command allows you to break from a program loop at any time.

  Syntax
EXIT
  Returns

This command does not return a value.

  Description

Only control loops that have an uncertain exit condition can use this command such as DO LOOP, WHILE and REPEAT loops. EXIT will have no effect on GOTO loops during the running of your program.

  Example Code
DO
IF SPACEKEY()=1
EXIT
ENDIF
LOOP
  See also

CORE Commands Menu
Index