MDEFINED
The MDEFINED compiler directive operator allows conditional compilations base on whether a label reference is a MACRO or DEFINE label type. The directive uses the following format:
|
|
|
|
Where:
label
Required. A current and valid label reference for a MACRO or DEFINE definition.
Flags Affected: NONE
Note the following:
This operator is only valid when used in a %IF, CIF, %ELSEIF, or CELSEIF directive that exists in the body of a MACRO.
To be processed, a directive operator requires use of an exact syntax format.
When a valid syntax form is detected, this operator and parameter label reference are replaced in the conditional directive source line with a single numeric value as follows:
|
Value |
The label is ... |
|
0 |
neither a MACRO nor a DEFINE type of label reference. |
|
1 |
a MACRO label type. |
|
2 |
a DEFINE label type. |
|
3 |
both a MACRO and a DEFINE label type. |
See Also: Example Code, Compiler Directives
![]() |