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:

  1. The form-pointer may be changed to any value between zero (0) and the physical length of the field.

  2. 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.

  3. 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.

  4. 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

 



System Utilities Instruction Pointer Command (SUNDBUG) Modify Lengthpointer Command (SUNDBUG)