SET Statement
Statements
058057 Tandem Computers Incorporated
4–43
Initializing User-Defined
Elements
When initializing a user variable, user table, or a parameter, specify values that are
consistent with the internal format type. If the internal format type is alphanumeric,
specify a a string literal; if the internal format type is numeric, specify a numeric literal.
In the following example, the user variable u-var is defined as numeric by the
DECLARE statement and set to the value of 99 by the SET statement:
DECLARE u-var INTERNAL I2;
SET u-var TO 99;
The SET statement can initialize a user table. An unsigned numeric integer subscript
must be used. In the following example, the third element of the months table is set to
MARCH:
DECLARE months [12] INTERNAL A10;
SET months [3] TO "MARCH";
Redefining Option
Variables
Use the SET statement to redefine option variables. There are several option variables,
each with default values assigned by ENFORM. Refer to the description of the Option
Variable Clause in Section 5 for information about valid values for the option
variables.
Summary of Contents for ENFORM 058057
Page 6: ...New and Changed Information 058057 Tandem Computers Incorporated v...
Page 18: ...Preface xvi 058057 Tandem Computers Incorporated This page left intentionally blank...
Page 19: ...Preface 058057 Tandem Computers Incorporated xvii...
Page 269: ...Glossary Glossary 4 058057 Tandem Computers Incorporated This page left intentionally blank...