7 67 LEAVE

LANSA Technical

7.67 LEAVE

The LEAVE command is a loop modifying command. It causes the current loop to be exited and execution to continue on the statement following the end loop command.

CONTINUE/LEAVE commands work inside all loop commands.

Also See

7.67.1 LEAVE Parameters

7.67.2 LEAVE Comments / Warnings

7.67.3 LEAVE Examples

7.3 BEGIN_LOOP

7.15 CONTINUE

7.30 DOUNTIL

7.31 DOWHILE

7.83 SELECT

                                                         Required

 

  LEAVE -------------------------------------------------------->

 

 -----------------------------------------------------------------

                                                         Optional

 

             >-- IF ----------- 'condition' --------------------|