Difference between revisions of "DISPLAY MEMORY"

From Lianjapedia
Jump to: navigation, search
m (1 revision)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
Display the contents of the current memory variables
 
Display the contents of the current memory variables
 
  
 
==Syntax==
 
==Syntax==
DISPLAY MEMORY [LIKE <skeleton>] [TO FILE <.txt filename> | (<expC>) ] | [TO PRINT]
+
DISPLAY MEMORY [LIKE <skeleton>] [TO FILE <.txt filename> | (<expC>) ]
 
+
  
 
==See Also==
 
==See Also==
[[ALIAS]], [[DB_PRINT]], [[DECLARE]], [[DISPLAY STATUS]], [[Function Keys]], [[LIST MEMORY]], [[PRIVATE]], [[PUBLIC]], [[RELEASE]], [[RESTORE]], [[SAVE]], [[SET PAGELENGTH]], [[SET PAGEWIDTH]], [[SET PRINTER]]
+
[[DECLARE]], [[DISPLAY STATUS]], [[LIST MEMORY]], [[PRIVATE]], [[PUBLIC]], [[RELEASE]], [[RESTORE]], [[SAVE]]
 
+
  
 
==Description==
 
==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.
+
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 Lianja/4GL or to the amount of memory that can be used for memory variables.
  
 
+
{| class="wikitable" width="100%"
{| class="wikitable"
+
!width="20%"|Keyword||Description
!Keyword||Description
+
 
|-
 
|-
|LIKE <skeleton>||Displays all the current memory variables that match the wildcard <skeleton> specification.
+
|valign="top"|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.
+
|valign="top"|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.  
|-
+
|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==
 
==Example==
Line 32: Line 25:
 
</code>
 
</code>
  
 
==Products==
 
Recital Server, Recital
 
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
[[Category:Memory Variables]]
+
[[Category:Declaring Variables and Arrays]]
[[Category:Memory Variables Commands]]
+

Latest revision as of 09:02, 5 February 2013

Purpose

Display the contents of the current memory variables

Syntax

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

See Also

DECLARE, DISPLAY STATUS, LIST MEMORY, PRIVATE, PUBLIC, RELEASE, RESTORE, SAVE

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 Lianja/4GL or to the amount of memory that can be used for memory variables.

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.

Example

display memory