The Assignment Statement
variable symbol. Variable symbols may be tested and manipulated to
control the execution of an
assignment statement is:
r
&variable
string
ae
fu nct ion
ae
function
specified value. A variable may contain a maximum of eight
alphameric and national charactersr including the initial
ampersand, which is required. Except in the
variables &* and
special characters.
is a data item of up to eight characters. It may also be a
variable symbol or null.
treated as numeric or character data depends on how it is
used in the
expands to more than eight charactersr it is truncated. If
the string consists of eight
is set to a null string.
is an arithmetic expression consisting of a sequence of data
items that possess positive or negative integral values and
are separated by plus or minus signs:
&1 -
is an
indicates up to six hexadecimal digits to be converted to
decimal before assignment. For example:
Hexadecimal conversion is not performed unless you have used
the
All variable symbols occurring in executable statements are substituted
before the statement is executed. An executable statement is (1) a
statements) .
278