basic.exit Statement/BASIC Program

basic.exit

Command basic.exit Statement/BASIC Program
Applicable release versions: AP
Category BASIC Program (486)
Description forces an "early" exit from a loop that is under "for ... next" or "loop ... repeat" control.

The program continues with the next executable statement after the "next" or "repeat" statement.
Syntax
Options
Example
loop
  input guess
  if guess='end' then exit
while guess > 1 and guess < 100 do repeat
Purpose
Related basic.statements
basic.for.next
basic.next
basic.loop