PPWIZARD is a free preprocessor for HTML, REXX, Visual Basic or any text files.
[Bottom][Contents][Search][Prev]: $$ISBLANK[Next]: $$LOWER
\ -> Macros -> Macro Transformations -> $$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'

email me  any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Search][Prev]: $$ISBLANK[Next]: $$LOWER

My whole website and this manual itself was developed using PPWIZARD (free preprocessor written by Dennis Bareis)
Sunday November 05 2017 at 10:00am