Defining Sculptor 2 report compatibility mode

!compat report

Define Sculptor 2 report compatibility mode


SYNTAX

!compat report = 2

When this value is set to 2 (or less) in a Sculptor report program, the program runs in Sculptor 2 compatibility mode:

  1. The initialisation code up to the first end statement is executed normally.

  2. If at this point the program has not run a report, the first report defined in the code is executed automatically.

  3. The program then terminates.

In a Unix or DOS shell, the report is output to the shell’s standard output, which can be redirected to a file. The third argument on the command line, if present, must be the required printer parameter file. Example:

srep myreport nullp

If a printer parameter file is not specified, the file named printer is used.

Exception: If srepwc is used to run the program, the printer parameter file winpm will be used and the report sent to the Windows Print Manager. If a printer parameter file is specified it must be valid but will be ignored.


RELATED TOPICS

Printer parameter files