PPWIZARD Manual
[Bottom][Contents][Search][Prev]: /DebugTime[Next]: /DependsOn

Switch /Define:Variable=Contents

This is a PPWIZARD command line switch. You can set up your own default switches in the "PPWIZARD_OPTIONS" environment variable.

This command sets variables (like #define), but from the command line. You can set as many variables as you wish.

If the contents needs to include a space you should use "<?Space>" instead.

EXAMPLE

Define 2 variables

    ppwizard 1.in /output:out\*.out /CrLf /Define:OpSys=OS/2
    

In your code you could do:

    #if '<$OpSys>' = 'OS/2'
        ...
    #elseif
        ...
    #endif
    


[Top][Contents][Search][Prev]: /DebugTime[Next]: /DependsOn

PPWIZARD Manual
My whole website and this manual itself was developed using PPWIZARD (free preprocessor written by Dennis Bareis)
Wednesday October 04 2000 at 5:05pm