DISPLAY MEMORY Command

Displays the current contents of variables and arrays.

DISPLAY MEMORY [LIKE FileSkeleton]
   [TO PRINTER [PROMPT] | TO FILE FileName [ADDITIVE]] [NOCONSOLE]

Parameters

[LIKE FileSkeleton]

Displays information about variables and arrays that match the skeleton pattern FileSkeleton. If you include LIKE FileSkeleton, Microsoft Visual FoxPro displays only the contents of variables and arrays that match FileSkeleton. FileSkeleton supports wildcards such as ? and *. For example, to display all variables that begin with the letter A, issue:

 CopyCode imageCopy Code
DISPLAY MEMORY LIKE A*
[TO PRINTER [PROMPT]

Directs output from DISPLAY MEMORY to a printer.

You can include the optional PROMPT clause to display a dialog box before printing starts. In this dialog box, you can adjust printer settings, including the number of copies and page numbers to print. The printer settings that you can adjust depend on the currently installed printer driver. Place the PROMPT keyword immediately after TO PRINTER.

TO FILE FileName[ADDITIVE]]

Directs output from DISPLAY MEMORY to the file specified with FileName. If the file already exists and SET SAFETY is ON, you are prompted to overwrite the file.

ADDITIVE specifies to append output to the end of the specified file. If you omit ADDITIVE, the file is overwritten with the value of the expression.

[NOCONSOLE]

Suppresses output to the main Visual FoxPro window or to the active user-defined window.

Expand imageRemarks

Expand imageExample

Expand imageSee Also


© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic