Subscripts - Tandem ENFORM 058057 Reference Manual

Data management library
Table of Contents

Advertisement

Subscripts

Subscripts, although they are not required, are usually used to reference elements in a
user table or data base table. (A data base table is created when the dictionary
description of a data base field contains an OCCURS clause.) Subscripts are needed
for references to user tables and data base tables because all the elements in such tables
have the same name. Subscripts can be used in references to data base fields and user
variables although they are not necessary.
The syntax for including subscripts is:
field-name-ref1
{
user-table-name
grp-name
field-name-ref1
is the qualified name of a data base field.
user-table-name
is the name of a user table defined by the DECLARE statement.
subscript
is an integer. The lowest valid value for subscript is 1. The highest valid value is
the maximum number of elements defined for the user or data base table. (Refer
to the following discussion for more information.)
subscript-range
has the form subscripti : subscriptj
subscripti
is the first element being referenced.
subscriptj
is the last element being referenced.
058057 Tandem Computers Incorporated
"[" subscript "]"
}
{
"[" subscript-range "]"
"[" subscript "]"
"[" subscript-range "]"
ENFORM Language Elements
}
. field-name-ref2
"[" subscript "]"
{
"[" subscript-range "]"
Subscripts
}
3–9

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enform

Table of Contents