MDEFAULT
The MDEFAULT compiler directive indicates whether a macro parameter is using its default string. The directive uses the following format:
|
|
|
|
Where:
macroparam
Required. A currently valid {param} label reference for a MACRO definition replacement parameter.
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 an exact syntax format.
When the valid syntax is detected, this operator and parameter label reference are replaced in the conditional directive source line with a single numeric zero or one as follows:
|
Value |
The replacement string ... |
|
0 |
was specified when the macro was invoked. |
|
1 |
was not specified when the macro was invoked. The default string was used. |
See Also: Example Code, Compiler Directives
![]() |