PPWIZARD is a free preprocessor for HTML, REXX, Visual Basic or any text files.
[Bottom][Contents][Search][Prev]: $$SDQ[Next]: $$? - User Defined
\ -> Macros -> Macro Transformations -> $$UPPER

$$UPPER

This is a transformation that can be applied to the substitution of content for both macros and macro parameters.

The parameter will be tranformed to upper case.

To configure the case conversion see the "Upper/Lower Case Configuration" section.

EXAMPLE

Lets make sure that parameters 2 and 3 in the following macro get translated to upper case:

;--- Define macro ---------
#define  SimpleTest P1={$parm1}, P2={$parm2="parm1_default" $$upper}, P3={$parm3 $$upper $$DSQ}

;--- Expand macro ---------
<$SimpleTest Parm1='value1' Parm2='value2' Parm3='value3'>


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

[Top][Contents][Search][Prev]: $$SDQ[Next]: $$? - User Defined


PPWIZARD Manual
My whole website and this manual itself was developed using PPWIZARD (free preprocessor written by Dennis Bareis)
Saturday May 28 2022 at 2:55pm