DISPLAY MEMORY

From Recital Documentation Wiki
Jump to: navigation, search

Purpose

Display the contents of the current memory variables


Syntax

DISPLAY MEMORY [LIKE <skeleton>] [TO FILE <.txt filename> | (<expC>) ] | [TO PRINT]


See Also

ALIAS, DB_PRINT, DECLARE, DISPLAY STATUS, Function Keys, LIST MEMORY, PRIVATE, PUBLIC, RELEASE, RESTORE, SAVE, SET PAGELENGTH, SET PAGEWIDTH, SET PRINTER


Description

The DISPLAY MEMORY command displays the contents of the memory variables and array elements currently defined. Subject to the available system memory, there is no limit to the number of memory variables that can be declared in the Recital/4GL or to the amount of memory that can be used for memory variables. DISPLAY differs from the LIST command in that it pauses every 17 lines until a key is pressed. You can cancel any further output at this point by pressing the [ABANDON] key. Where the output is sent to a file or printer, the pause is disabled.


Keyword Description
LIKE <skeleton> Displays all the current memory variables that match the wildcard <skeleton> specification.
TO <file> The display output will be sent to the specified file. The filename can be substituted with a <expC>, enclosed in round brackets, which returns a valid filename. If no file extension is specified, then ".txt" will be used. The command SET PAGELENGTH governs the output file pagination and SET PAGEWIDTH defines the width of each page. Page numbers are centered on the bottom of the page according to width.
TO PRINT The display output will be sent to a printer. The TO PRINT option will default to a local printer unless the command SET PRINTER TO \\SPOOLER is issued. The print request will then be spooled to the system printer, which is defined by the environment variable DB_PRINT.


Example

display memory


Products

Recital Server, Recital