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 switch should rarely be required as html mode is the default mode unless
all input files end in the extension ".X" (its use is recommended for rexx
source code).
On non unix operating systems lines end with carriage return followed by
linefeed, with the internet unix has finally won (it only requires lines to
terminate with a linefeed). Web servers and browsers do not require the
carriage return (which they ignore). You can save an extra one character per
line with use of the /CRLF switch.
This switch can be used any number of times and will affect all input masks
that follow. It also becomes the default mode for all files produced via the
#Output command. For backwards compatability, if an input mask is found before
any processing mode switch then the last instance of a processing mode switch
is used these.
ΓòÉΓòÉΓòÉ 5.32. /HtmlGenerator ΓòÉΓòÉΓòÉ
Switch /HtmlGenerator:Contents
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.
By default when generating HTML, ppwizard will try to insert a meta tag similar
to the following in the "HEAD" section:
<META NAME="GENERATOR" CONTENT="PPWIZARD version 99.231 on OS/2, FREE tool for OS/2, Windows, DOS and UNIX by Dennis Bareis (http://www.labyrinth.net.au/~dbareis/ppwizard.htm)">
You can turn off the generation of the tags altogether by specifying an empty
value or you can supply alternative line(s).
PPWIZARD is supplied as freeware and I would appreciate it if you at least
mention PPWIZARD and its homepage in the pages that you generate (either in
meta tags or comments). The switch is mainly supplied so that you can add your
own details if you wish.
If you wish to specify your own generator contents (or refer to ppwizard
details in HTML comments) you can make use of these variables (on the command
line replace '<' with '{x3C}' and '>' with '{x3E}') :
1. <?PpwizardAuthor>
2. <?PpwizardAuthorEmail>
3. <?PpwizardAuthorHomePage>
4. <?PpwizardHomePage>
The value you wish to give this switch is probably so large that you would
normally need to use the /GetEnv switch to get the information out of an
environment variable.
ΓòÉΓòÉΓòÉ 5.33. /Inc2Cache ΓòÉΓòÉΓòÉ
Switch /Inc2Cache[: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 switch can be used to override the way PPWIZARD includes files. This would
not normally be required as PPWIZARD is likely to choose a good way.
If the "YesOrNo" parameter is not specified then it defaults to "Y", otherwise
one of the following values is expected:
Y
N
YES
NO
Warning
Loading the files to cache will of course require more memory than you'd
otherwise require.
ΓòÉΓòÉΓòÉ 5.34. /IncludePath ΓòÉΓòÉΓòÉ
Switch /IncludePath[:PathList]
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.
When ppwizard looks for a file (such as when it encounters a #include command)
it searches in certain locations. This switch allows you to specify your own
locations which will be searched before ppwizard looks in the standard ones.
If you don't supply a parameter ppwizard will forget (drop) any locations you
have previously specified otherwise you are supplying a a list of items
separated by ";" (or colon for unix). If the item begins with a "*" character
then what follows is the name of an environment variable whose contents should
be searched otherwise it specifies a directory.
It is a common requirement that the current directory be searched first if you
need this to be searched before your supplied paths then you need to tell
#error "Sorry but you will need to modify this file to work on operating systems other than Windows & OS/2! These changes are expected to be relatively minor."
#endif
#if ['<$OpSys>' = 'OS/2']
;--- In OS/2 can get "real name" of file from EA's -------------------
FtpComment = strip(left(FtpComment, HighPos-1)) || '<HR><FONT COLOR="RED"><BLINK>Truncated here.</BLINK></FONT>' || " <B>Please don't use ENTER to separate paragraphs!</B>";
end;
<$AddCheckUrlErrorInfoToComment>
;--- Autocreate http/ftp links in comments ----------------------
;--- Format error info ---------------------------------------
MemBit = '<' || '?NewLine>'
if FtpComment <> '' then
MemBit = MemBit || '<br>'
MemBit = MemBit || '<div class="LinkErr" title="Oops, my free URL Checker picked up a problem. I will fix ASAP although sometimes I give them a bit of time to come good again!">'
#define QueryCategory 3 ;;This query is for this category
#define LinkTemplate <P><A HREF="{$url}">{$title}</A>: {$description} ;;HTML for each record (note that it would be more efficient (but less "clean") to just pick up rexx variable names here
;--- Enable PPWIZARD to make use of external SQL library --------------------
#evaluate '' "call LoadRexxSql"
;--- Connect to the data base ("supersite" on local machine) ----------------