| |||

Home > Assembler Reference > Symbols > Variables |

The value of a variable can be changed as assembly proceeds. Variables are of three types:

numeric

logical

string.

The type of a variable cannot be changed.

The range of possible values of a numeric variable is the
same as the range of possible values of a numeric constant or numeric
expression (see *Numeric constants* and *Numeric expressions*).

The possible values of a logical variable are `{TRUE}`

or `{FALSE}`

(see *Logical expressions*).

The range of possible values of a string variable is the same
as the range of values of a string expression (see *String expressions*).

Use the `GBLA`

, `GBLL`

, `GBLS`

, `LCLA`

, `LCLL`

,
and `LCLS`

directives to declare symbols representing variables,
and assign values to them using the `SETA`

, `SETL`

,
and `SETS`

directives. See: