User Variable As A Target-Item - Tandem ENFORM 058057 Reference Manual

Data management library
Table of Contents

Advertisement

ENFORM Language Elements
User Variables
User Variable as a
Target-item
3–30
When a user variable is specified as a target-item, ENFORM uses the default value or
the initial value, whichever is appropriate. When a user variable is a target-item in a
LIST statement, assignment syntax can be used to specify a new value for the user
variable. The value of a user variable changes as target list elements are evaluated, so
that at any time, the value of the user variable depends upon the value most recently
assigned.
Assignment syntax is:
user-variable-name-1 :=
user-variable-name-1
is the name of the user variable being defined.
field-name
is the name of a data base field.
aggregate
is the value of a predefined or user aggregate.
literal
is a numeric or string-literal that agrees in type with the user variable.
user-variable-2
is the name of a previously defined user variable.
expression
is an arithmetic or IF/THEN/ELSE expression.
user-table-element
is the subscripted name of a user table element. You cannot assign a subscript
range to a user variable.
058057 Tandem Computers Incorporated
field-name
aggregate
literal
user-variable-name-2
expression
user-table-element

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enform

Table of Contents