|
![]() | ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Compiler Directives |
Comments
* This is a Comment Line
INCLUDE
INCLUDE 'file_name'
INCLUDE
is useful
when developing screens separately or when a set of commands is common to
several Form Definition Files.
INCLUDE 'SYNONYM.cmp'
SYNONYM
SYNONYM name text
SYNONYM
command creates a short mnemonic name for a long,
complex expression. The synonym definition must occur before it is referenced
in another command. Once a synonym has been defined, it can be used anywhere in
the form definition.
For example: suppose the CALL
for a number of screens is to
have the following clauses:
CALL screen AUTO CALL RETURN WRITE NOPROMPT NODATA
A synonym called AUTOSCREEN
could be created and used as
follows:
SYNONYM AUTOSCREEN - AUTO CALL RETURN WRITE NOPROMPT NODATA ... CALL screen AUTOSCREEN
LISTING =
filename
parameter on the execution statement. These commands
do not affect anything other than the listing.When compiling large forms, you are advised to send the output to a listing file, and review this for syntax or compilation errors.
EJECT
FOOTING
FOOTING 'footing_string'
FOOTING
can be respecified as many times as necessary.
MAINTITLE
MAINTITLE 'main_title_string'
SPACE
SPACE [n][,m]
SPACE 1,10
SUBTITLE
SUBTITLE 'subtitle_string'
SUBTITLE
command can appear as many times as necessary.
![]() ![]() ![]() ![]() ![]() ![]() ![]() |