DEFINED
The DEFINED compiler directive allows conditional compilations based on the type of a specified label. The instruction uses the following format:
|
|
|
|
Where:
label
Required. A valid data or program execution label.
Flags Affected: NONE
Note the following:
This directive operator is only valid in %IF, CIF, %ELSEIF, or CELSEIF statements.
The exact syntax of the directive must be followed.
During compilation, the operator is replaced with a single digit as follows:
|
Digit |
When the label is ... |
|
0 |
neither a data nor an execution label reference. |
|
1 |
a data label reference. |
|
2 |
an execution label reference. |
|
3 |
both a data and an execution label reference. |
See Also: Example Code, Compiler Directives
![]() |