# BREAK

Updated: 10/19/2021, 9:29:48 PM
Created: 10/19/2021, 9:29:48 PM
Last Updated By: Kevin Munoz
Read Time: 1 minute(s)

# Description

The statement allows for the configuration of the BREAK statement. This may take the form:

BREAK
1

Used alone, for instance in a loop, BREAK will terminate the innermost loop, which it ignores if used in the outside loop construct.

An example of its use is as:

LOOP
  READNEXT KEY FROM LIST1 ELSE BREAK
  **code to be executed in the loop

REPEAT
* Program resumes here after BREAK condition satisfied.
1
2
3
4
5
6

See also BREAK ON/OFF, CONTINUE

Go back to jBASE BASIC

Go back to Programmers' Reference Guide