PPWIZARD is a free preprocessor for HTML, REXX, Visual Basic or any text files.
[Bottom][Contents][Search][Prev]: /OutHeader[Next]: /PpwTrace
\ -> PPWIZARD Command Line -> Switches -> /Pack

Switch /Pack[:YesOrNo]

This is a PPWIZARD command line switch.

This switch is only useful if "/rexx" is also specified. You can get a much smaller generated rexx program by packing (off by default). Packing does not significantly slow down processing.

If the "YesOrNo" parameter is not specified then it defaults to "Y", otherwise one of the following values is expected:


The preprocessor packs well written code (by my definition!) and can fail to correctly pack code where strings are appended without the use of the "||" operator (as the excess spaces will be removed). For example the following statement will not create the string you expect when packed:

   BothPartsCombined = 'Value:'   TheValue;

The following statement is a version of the above that will work:

    BothPartsCombined = 'Value:   ' || TheValue;

You can get very good results by packing but if you have got legacy code or you don't wish to change (your evil ways!) you should use the "/Pack:N" command line switch. This turns off most packing (rexx comment and trailing ';' removal still occurs).

If you have trouble with some parts of your code but the bulk packs well then you may wish to consider leaving packing on and using the AllowPack option to indicate parts of your rexx code that should not be packed.


This has not been tested on object rexx so I don't know if it will work or not (I assume it will).

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

[Top][Contents][Search][Prev]: /OutHeader[Next]: /PpwTrace

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