Creating a SETUP Section
Place a SETUP section at the beginning of the program, before the PROGRAM section. Begin the section with a BEGIN-SETUP paragraph and end it with an END-SETUP paragraph.
Use the following commands in the SETUP section:
|
Command |
Comment |
|---|---|
|
ALTER-LOCALE |
Can also appear in a procedure. |
|
ASK |
Allowed only in a SETUP section. |
|
BEGIN-SQL |
Can also appear in a procedure. Processed when a runtime file (with .SQT extension) is loaded. |
|
CREATE-ARRAY |
Can also appear in a procedure. |
|
DECLARE-CHART |
NA |
|
DECLARE-IMAGE |
NA |
|
DECLARE-LAYOUT |
NA |
|
DECLARE-PRINTER |
NA |
|
DECLARE-PROCEDURE |
NA |
|
DECLARE-REPORT |
NA |
|
DECLARE-TOC |
NA |
|
DECLARE-VARIABLE |
Can also appear in a local procedure. |
|
LOAD-LOOKUP |
Can also appear in a procedure. |