STOP

Ends execution of an application program and returns to the main prompt level.

Syntax

STOP

Comments

The STOP command stops execution of the current application program and returns control to the main prompt level (i.e., outside any application program). STOP is equivalent to BYE when used in a fully compiled application running under the Runtime system.

Example

find all Employees where Salary > 10000
if $setcount = 0
 stop
endif

The preceding command returns control to the main prompt level when no set results from the execution of a FIND command.

 

Related Topics