MDEFAULT


 

The MDEFAULT compiler directive indicates whether a macro parameter is using its default string. The directive uses the following format:

 

 

 

MDEFAULT(macroparam)

 

Where:

macroparam

Required. A currently valid {param} label reference for a MACRO definition replacement parameter.

Flags Affected: NONE

Note the following:

  1. This operator is only valid when used in a %IF, CIF, %ELSEIF, or CELSEIF directive that exists in the body of a MACRO.

  2. To be processed, a directive operator requires an exact syntax format.

  3. 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:

  4.  

    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

 



PL/B Language Reference MACRO MDEFINED