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.

Examples<br />

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

DO.WHEN (DW)<br />

In this example, it is intended that the first DO.WHEN; command checks the result of a<br />

previous action. However, the action of the array item sets the value of GLB.STATUS<br />

before the first DO.WHEN; condition is evaluated. This is because the array evaluation that<br />

changes GLB.STATUS takes place before the start of the DO.WHEN; command, and not at<br />

the point of reference.<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

‘‘CASE (CS)’’ for multiple conditions.<br />

‘‘ELSE’’ for reverse conditions.<br />

‘‘END’’, ‘‘END.EXIT (EE)’’, and ‘‘END.NO.PRINT (ENP)’’ for terminating the DO.WHEN;<br />

loop.<br />

v 1-113

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

Saved successfully!

Ooh no, something went wrong!