The break command is used to immediately stop the action of a for or while command and continue processing the rest of the procedure.
When processing reaches a break command, DataEase immediately abandons the current action. It resumes processing the procedure with the first action listed after the corresponding end command.
ACTION 1 .
ACTION 2 .
ACTION 3 .
break .
NEXT COMMAND
The break command is always followed by a period.
Example
TOTAL DUE in reverse ;
LAST NAME .
if current item number > 100 then
break .
delete records with DATE < 01/01/90 .
This script tells DataEase: (1) List each member's TOTAL DUE and LAST NAME, arranging the output from highest to lowest TOTALDUE value, and (2) when one hundred MEMBERS records have been processed, stop listing records and proceed to the next command (delete RESERVATIONS records with DATE before January 1, 1990).