ENFORM Reference Manual
SET Statement
Statements
4–42 058057 Tandem Computers Incorporated
SET Statement The SET statement allows you to initialize or reset a user variable, user table, or a
parameter. The SET statement also allows you to reset option variables. The syntax of
the SET statement is:
SET
user-variable-name
user-table-name
"["
subscript
"]"
param-name
[TO]
string-literal
number-literal
option-variable-name
[TO]
ON
OFF
unsigned-digit
string-literal
display-format
user-variable-name
or
user-table-name
"["
subscript
"]"
is the name of an element defined by a DECLARE statement.
param-name
is the name of a parameter defined by a PARAM statement.
string-literal
is one or more alphanumeric characters enclosed within quotation marks.
unsigned-digit
is an unsigned numeric literal.
option-variable-name
is the name of an option variable.
numeric-literal
is an integer.
display-format
is the default display format enclosed in quotation marks for printing dates or
times when AS DATE * and AS TIME * clauses are used.