18.08.2013 Views

LINC Programming Reference Manual - Public Support Login - Unisys

LINC Programming Reference Manual - Public Support Login - Unisys

LINC Programming Reference Manual - Public Support Login - Unisys

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

END.EXIT (EE)<br />

Syntax<br />

Examples<br />

<strong>Reference</strong>s<br />

END.EXIT (EE)<br />

The END.EXIT; command is similar to the END; command in that it defines the end of a<br />

block of logic introduced by a loop or a condition. When an END.EXIT; command<br />

terminates a loop, only one pass is made through the loop.<br />

The END.EXIT; command has the additional function that, when executed, it causes the<br />

remaining logic to be skipped, effectively terminating Pre-Screen, Pre-<strong>LINC</strong>, or Main logic<br />

in Ispecs, or Main logic in Reports. In Report Frame logic, the END.EXIT; command<br />

terminates the logic of the Frame, the Frame is printed, and execution continues after the<br />

PRINT.FRAME; command that invoked the Frame.<br />

When Pre-<strong>LINC</strong> logic is terminated by an END.EXIT; command execution continues with<br />

Main logic unless GLB.ERROR is equal to *****.<br />

Including an END.EXIT; command in an Insertable Global Logic has the same result as if<br />

the END.EXIT; command were included directly in the logic.<br />

Note: The END.EXIT; command does not set GLB.ERROR and does not inhibit<br />

updating of the <strong>LINC</strong> database. An END.EXIT; after an ELSE; command<br />

applies only to the ELSE; command and not to the associated DO.WHEN;<br />

command.<br />

DDDDD DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD4<br />

<br />

<br />

<br />

<br />

‘‘END’’ and ‘‘END.NO.PRINT (ENP)’’.<br />

v 1-117

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!