Display Variable Command (PLBDBUG)
This Display Variable command displays the current contents of a variable or displays the file name and open mode of file declarations. The Display Logical (DL) command behaves the same way except on the logical string is displayed. The format for the DV command is:
DV [{Datalabel}]
OR
DL [{DataLabel}]
The type of the item is displayed. For DIM fields, the physical length, form pointer and length pointer are displayed. The entire string is displayed, and if not null, the logical string is highlighted. The value of FORM and INTEGER fields is displayed. For IFILEs and AFILEs that are open, both the data file name and the index file name are given. For arrays, any element of the array may be displayed by giving the appropriate indices. The indices may be constants or numeric variables in the program. For RECORDs, each member and type is displayed. Individual record members may also be displayed. Objects display the type and an indication as to whether or not the object has been created.
Examples:
DV AMOUNT
DV TOTAL(1,4)
DV TOTAL(X,Y)
DL ADDRESS
See Also: PLBDBUG Commands, PLBDBUG
![]() |