Enform Plus Reference Manual

Statements
Enform Plus Reference Manual422684-001
4-11
Declaring a User Variable or User Table
no^orders is defined. The INTERNAL clause indicates that no^orders is to be
stored as alphanumeric with a length of 9 bytes:
DECLARE no^orders INTERNAL A9;
The default display format for either a user variable or an element in a user table is a
fourteen character integer. To change this default, specify the optional AS clause. The
display format specified in the AS clause formats the user variable or table element
unless you provide an explicit AS clause in the LIST statement. The AS clause is
described under AS Clause
on page 5-7.
Specify the HEADING clause to provide a default heading for either a user variable or a
user table. Enform Plus uses the default heading for the user variable or table whenever
an explicit HEADING clause is not specified in the LIST statement. The HEADING
clause is described under HEADING Clause
on page 5-39. In the following example, the
default display heading “Quarterly Totals” is supplied for the table qtr^totals:
DECLARE qtr^totals [4] HEADING "Quarterly Totals";
Initialize both user variables and user tables by using the SET statement described on
page 4-41.
Section 3, Enform Plus Language Elements
provides more information about user
variables and user tables.