[WarpCast] PPWIZARD Updates - 2/08/99




  Inet.Mail 1.3 -- The best mail server on OS/2 just got better!
    Audit Capabilities, More Spam Control, Improved Performance
         Visit us at http://www.hethmon.com/inetmail.html
         for full details. A free update for current users.

****************************** WarpCast ******************************
Source: Bareis, Dennis (db0@anz.com)
Moderator: Christopher B. Wright (wrightc@dtcweb.com)
**********************************************************************
 
Hi.

I'd just like to say that my free PPWIZARD program has had some major
enhancements and a bug fix to the reordering of database fields facility
(from comma/tab delimited files etc).

For those that don't as yet know PPWIZARD is a generic preprocessor,
although most people use it only for HTML.  It is also great for rexx code,
you can now create header files contain code which you can if you wish
conditionally generate (maybe you require different error handling for a
particular common routine).   It is generic in that it can be used to
process any "text" files in any languages, if PPWIZARD's default processing
gets in the way then there are many #Option's to change it.

For more information (and to see online examples) on PPWIZARD have a look
at:

	http://www.labyrinth.net.au/~dbareis/ppwizard.htm

Some of PPWIZARD's commands are include, #define, #import, #if, #ifdef,
#evaluate, #AsIs, #AutoTag.  When using #define or in other areas where
PPWIZARD wants a name these names can use international characters such as
those that European languages use.

Example of importing a comma delimited file into a html table (the default
action), using all defaults.  This example will use a filter to remove a
record and we want the first first name to be in upper case:

	#define IMPORT_RECORD_FILTER
\
		if Column.1 = "Wendy" then
\
		           Remove='This is "Wendy" record';   ;;Don't want
this record   \
		else
\
		           Column.1 = translate(Column.1);    ;;Make column
#1 upper case
	#import ImportMe.CMA CMA "" "First
Name" "Surname" "Job" Some of the recent changes are: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ o Added an example of importing using SQL. o Optimised #AsIs text changes so that it will work much better for large numbers of single character replacements such as would be required to convert international characters for correct display in a html browser. New BulkChar2String() routine. o Major update to the "rexx" section of the manual. o Document fact that delimited and fixed imports can be setup so that the format for each record (row of table) can vary depending on the data. This documents a new variable that can be used in a filter. o New DebugLevel option of REXXTRACE for debugging any rexx that you might be executing. o More "#Import" changes/options. You can now filter records in the T2H mode. Largish changes to WRAP import. You can now easily disable or extend on the "standard" #AsIs replacements that occur during import (chars like '<' and the box chars). o More "#Import" changes. Default is now to "PROTECT" delimited and fixed imported data. More configurable parameters in T2H import. "T2H" import now finds and by default tags email addresses. o PPWIZARD looping is now possible. Note that you have always been able to do loops in rexx (#evaluate). For more information on the changes, have a look at: http://www.labyrinth.net.au/~dbareis/ppwizard/changehistory.htm ---------------------------------------------------------------------- To subscribe, unsubscribe, or for more information on WarpCast, visit: http://www.warpcast.com/ ----------------------------------------------------------------------

WarpCast Archives - Courtesy of VOICE International