Modify Formpointer Command (PLBDBUG)
The Modify Formpointer command allows a DIM variable's form-pointer to be changed while in the debugger. The format for the MF command is:
MF [{DimLabel}][={literal}]
Note the following:
The form-pointer may be changed to any value between zero (0) and the physical length of the field.
This command also changes the length-pointer to the new value of the form-pointer if the new form-pointer would be greater than the length-pointer.
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's form pointer.
Example:
MF S$CMDLIN="2"
This command sets the formpointer of S$CMDLIN to two.
See Also: PLBDBUG Commands, PLBDBUG
![]() |