| |||
| Home > Directives Reference > Symbol definition directives > SETA, SETL, and SETS | |||
The SETA directive sets the value of a local
or global arithmetic variable.
The SETL directive sets the value of a local
or global logical variable.
The SETS directive sets the value of a local
or global string variable.
variable<setx>expr
where:
<setx>is one of SETA, SETL,
or SETS.
variableis the name of a variable declared by a GBLA, GBLL, GBLS, LCLA, LCLL,
or LCLS directive.
expris an expression, which is:
numeric, for SETA (see Numeric expressions)
logical, for SETL (see Logical expressions)
string, for SETS (see String expressions).
You must declare using
a global or local declaration directive before using one of these
directives. See GBLA, GBLL, and GBLS and LCLA, LCLL, and LCLS for more information.variable
You can also predefine variable names on the command line. See Command syntax for more information.