PPWIZARD is a free preprocessor for HTML, REXX, Visual Basic or any text files.
$$ISPASSED |
This is a transformation that can be applied to the substitution of macro parameters content (but not macro contents).
This will substitute "Y" or "N" for the parameter value. If the parameter was passed then a value of "Y" is returned. A value of "N" means the default (which you must supply) was used.
This feature can be used to tell if a parameter value was passed by the user of the macro.
Note that you will need to give the parameter a default value even though the actual value will be ignored.
EXAMPLE - Extract From Macro |
#if '{$Parm1="" $$IsPassed}' = 'Y'