PPWIZARD is a free preprocessor for HTML, REXX, Visual Basic or any text files.
[Bottom][Contents][Search][Prev]: /XSlash[Next]: /**/

Switch /0OK[:YesOrNo[,YesOrNo][,YesOrNo]]

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

This can set the state of 3 separate situations where PPWIZARD has to decide whether it is OK to have 0 files as follows (the default is "NO" for all):

  1. Is it OK for any of the input filemasks you specify to return zero files? This option affects masks specified after this switch.

  2. After all input masks are processed, is it OK for no files to have matched.

  3. Assuming some files matched the input masks is it OK if you then exclude all of them (see /exclude)?

If you don't supply any parameter at all then all options are set to "YES", otherwise blank or missing options remain at their current value.

Examples

You wish to say its OK for all situations to result in 0 files:

    ppwizard  /0OK *.it  /output:out\*.htm
    

You wish to say its OK for 0 files to result after all masks but think its and error of no files to be processed due to exclusions

    ppwizard  /0OK:YES,YES,NO *.it /exclude:a*.it /output:out\*.htm
    

You wish to say its OK for 0 files to result after exclusions are applied ("stupid" simplistic example):

    ppwizard  /0OK:,,YES *.it /exclude:*.it /output:out\*.htm
    


[Top][Contents][Search][Prev]: /XSlash[Next]: /**/

PPWIZARD Manual
My whole website and this manual itself was developed using PPWIZARD (free preprocessor written by Dennis Bareis)
Thursday January 17 2002 at 6:27pm