Modify Variable Command (PLBDBUG)
The Modify Variable command allows a variable to be changed while in the debugger. The format for the MV command is:
MV [{DataLabel}][={literal}]
Note the following:
FORM and INTEGER variables may be modified in their entirety. Certain limitations are imposed on modifying DIM fields.
If a DIM field is changed, it also sets the form pointer to one and the logical length to the last character entered.
If a variable is longer than the width of the command window, the entire length of the variable cannot be changed.
For arrays, any element of the array may be modified by giving the appropriate indices. The indices may be constants or numeric variables in the program.
Specification of the optional {literal} value allows the debugger modify operation to occur without user intervention. The {literal} value is assigned directly to the {DataLabel} variable.
Example:
MV S$CMDLIN="ABCD"
This command sets the S$CMDLIN variable string value to "ABCD".
See Also: PLBDBUG Commands, PLBDBUG
![]() |