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