EDH0162En1040 – 06/99 3.38
MM4005 DL — Define label
Usage IMM PGM MIP
Syntax xxDL
Parameters
Description xx
[int] — Label number.
Range xx — 1 to 100.
Units xx
— None.
Defaults xx Missing: Error N.
Out of range: Error N.
Floating point: Error A.
Description This command defines a label inside a program. In combination with JL
(jump to label) command, they provide program flow control.
The operation of the DL/JL command pair is similar to commands in other
computer languages that allow conditional jumps (or GOTOs) to prede-
fined labels in a program.
NOTE
This command does not generate an error when not used inside a pro-
gram. Since it can not do any harm, it is only ignored.
Returns
None.
Errors A — Unknown message code.
L — Command not at the beginning of a line.
N — Incorrect label number.
Rel. Commands JL — Jump to label.
Example 3DL | Define label number 3.
… |
… |
… |
2YL20, 3JL |
If variable 2 is less than 20, jump to label 3.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com