ENFORM Reference Manual
?SOURCE Command
Commands
6–18 058057 Tandem Computers Incorporated
?SOURCE Command The ?SOURCE command reads an EDIT file or a collection of commands and
statements within an EDIT file. The syntax of the ?SOURCE command is:
?SOURCE
edit-filename
[ (
section-name
, ... ) ]
edit-filename
is the name of the EDIT file containing an ENFORM query.
(
section-name
, ...)
the name of the sections of the EDIT file. section-name must be enclosed with
parentheses.
The ?SOURCE command can be used to read in an EDIT file or a collection of
commands and/or statements within an EDIT file. When a ?SOURCE command is
entered, the specified commands and/or statements are read in just as if they had been
entered a line at a time. ?SOURCE commands can be nested up to a depth of four.
If both the edit-filename and section-name are specified, that specific collection of
commands and statements of the EDIT file is read in. If only the edit-filename is
specified, the entire EDIT file is read in.
Issuing the ?SOURCE command does not set the default EDIT file name for
subsequent ?RUN or ?EDIT commands.