general interpreter settings |

Version 2.41 Mar2009
| |
|
Manual page for general_interpreter_settings(PL)
General interpreter settings
The #mode directive can be used to make general
settings that affect how the QUISP template interpreter behaves.
#mode
Set various operational modes.
Usage: #mode attribute value
attribute may be one of the following:
allowinlinecodes
If value is yes, evaluate
inline codes
found in script content. These are formatting codes particular to this software, that are useful in certain specialized formatting operations.
Example: allowinlinecodes yes
error_mode
Default is stderr, so that error messages are written to standard error.
This may be set to stdout for error messages to be written to standard output.
dot_in_varnames
Specifies whether variable names may contain periods (.).
Default is yes, which is convenient with SQL applications since join
results are named using a period.
Example: #mode dot_in_varnames no
evalvars
Default is yes. Use no to turn off evaluation of variables.
Example: #mode evalvars no
nullrep
This determines how NULL database fields will be represented.
Allowable values are blank, null, nbsp, and noconvert.
The default is blank which causes NULLs to be converted to zero length strings.
Use nbsp to convert NULLs to the HTML non-breaking space character
This should be invoked before result rows are fetched.
Conversion occurs after the row is retrieved from the database.
Example: #mode nullrep nbsp
shellmetachars
This specifies the set of characters that are to be screened out of
variables that are present when building a shell command
(see the opening paragraphs of the
#shell man page
). There should be no embedded whitespace.
This can also be set in the
project config file
Default set of shell metacharacters is: "'`$\;
Example: #mode shellmetachars "'`
suppressdll
value should be yes to suppress data-less lines, and no
to show data-less lines. Default is no.
A data-less line is a line
having one or more variables, all of which evaluate to a zero-length value.
Suppressing data-less lines is sometimes useful, for example, when displaying
multi-line entities such as postal addresses.
Database mode settings
See also the
shsql
SQLMODE command, which can be used to make certain database-specific settings.
|
 data display engine
Copyright Steve Grubb
|