;
SET -- Sets the value of variables.
FORMAT
The SET command supports two different formats:
* assignment format
* interactive format
REQUIRED ARGUMENTS OF ASSIGNMENT FORMAT
variable Any program variable or debugger variable. The variable
cannot be a record, structure, or union, although it can
be a single element of a record.
:= or = The two assignment operators are equivalent, and you can
use either operator no matter what language the program
was written in.
expression Any legal DEBUG expression.
REQUIRED ARGUMENT OF INTERACTIVE FORMAT
variable One or more variables. You can specify any number of
variables of any type, as long as they fit on one line.
OPTIONAL ARGUMENTS OF ASSIGNMENT FORMAT
-F1 -F2 -F4 -FN Each of these options forces the expression's value into
the variable. The -F1, -F2, and -F4 options force exactly
one, two, or four bytes of data, respectively. The -FN
option forces as many bytes of data as there are in the
expression into the variable. In any case, DEBUG does not
perform any conversion on the data, and DEBUG does not
check whether or not the variable can accommodate that
amount of data. Therefore, be careful: you may
inadvertently change the values of other variables if the
value overflows the assigned variable.
OPTIONAL ARGUMENTS OF INTERACTIVE FORMAT
None. (The -F1, -F2, -F4, or -FN options are illegal in the
interactive format.)
DESCRIPTION
Use the SET command to change the value of one or more variables during the
DEBUG session. The changes you make will have no effect on any future exe-
cutions of the program. You can use the SET command in either of the
following two formats:
the assignment format allows you to change the value of exactly one
variable.
the interactive format allows you to change the values of one or more
variables in response to prompts from DEBUG.
For full details, see Chapter 3 of the DOMAIN Language Level Debugger
Reference manual.