Initializing User-Defined Elements; Redefining Option Variables - Tandem ENFORM 058057 Reference Manual

Data management library
Table of Contents

Advertisement

When initializing a user variable, user table, or a parameter, specify values that are
Initializing User-Defined
Elements
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:
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:
Redefining Option
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
Variables
Variable Clause in Section 5 for information about valid values for the option
variables.
058057 Tandem Computers Incorporated
DECLARE u-var INTERNAL I2;
SET u-var TO 99;
DECLARE months [12] INTERNAL A10;
SET months [3] TO "MARCH";
Statements
SET Statement
4–43

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enform

Table of Contents