FAQ

  1. Can ppwizard accept options from a configuration file? Currently I have some very long command lines and its hard to swap between frequently used configurations.

  2. I have a perfectly working series of lines that I wish to place into a macro. The macro takes one or more parameters so that I can generate many versions of the output. I use the example tags, #AsIs" or #AutoTag" commands but these don't seem to be working correctly. What am I doing wrong?

Can ppwizard accept options from a configuration file? Currently I have some very long command lines and its hard to swap between frequently used configurations.

You can use the /List" switch to load files containing command line switches. This method allows you to comment switches. You can include other list files however no checking for infinite loops is performed.

PPWIZARD can also accept switches from environment variables. In most operating systems you can either put your options in "config.sys" or in a batch file that you run for your project.

[top]

I have a perfectly working series of lines that I wish to place into a macro. The macro takes one or more parameters so that I can generate many versions of the output. I use the example tags, #AsIs" or #AutoTag" commands but these don't seem to be working correctly. What am I doing wrong?

The #AsIs and #AutoTag" commands only work on data read directly from the a file. This means that you may need to use a bit of trial and error (maybe swearing a bit) and you can get it to work.

What is probably easier is rather than creating a macro, put the information into its own header file, then instead of macro parameters you simply #define+ each "parameter" prior to each #include command.

Note that you can link to other questions also...

[top]

This is a small simple example of a FAQ. Basically there is a lot of scope for you tweeking the look and feel. The FAQ header file can work with "OL_DOC.DH" support but does not require it to generate HTML.


Where can PPWIZARD & It's Headers be found?

In case you got here via a search engine or a link from another site you can download the header file used in this sample page ("FAQ.H") and ppwizard itself (my free html preprocessor) from the ppwizard download page at:

PPWIZARD can be thought of as a "Super SSI", it can include external files and do most of the things that server side includes can (and heaps more) but do them in a simpler manner and have no impact or requirements on the server.

PPWIZARD is the most powerful mechanism available for code reuse and automation of common tasks. See the PPWIZARD pages for more details.


Thursday February 15 2001 at 3:09pm