Difference between revisions of "LIST CALLS"

From Lianjapedia
Jump to: navigation, search
Line 3: Line 3:
  
 
==Syntax==
 
==Syntax==
LIST CALLS [TO FILE <.txt filename> | (<expC>)] | [TO PRINT]
+
LIST CALLS [TO FILE <.txt filename> | (<expC>)]
  
 
==See Also==
 
==See Also==
Line 16: Line 16:
 
|-
 
|-
 
|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 <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.
 
 
|-
 
|-
 
|}
 
|}
Line 23: Line 21:
 
==Example==
 
==Example==
 
<code lang="recital">
 
<code lang="recital">
set printer to \\spooler
+
list calls
on error list calls to print
+
 
</code>
 
</code>
  

Revision as of 08:13, 4 January 2013

Purpose

List program stack

Syntax

LIST CALLS [TO FILE <.txt filename> | (<expC>)]

See Also

DISPLAY CALLS, DISPLAY PROCEDURE, DISPLAY STATUS, DOLEVEL(), LIST PROCEDURE, ON ERROR, PROCNAME(), PROGRAM(), SAVE ERROR, SET PRINTER, SET PROCEDURE


Description

The LIST CALLS command displays on screen the name and line number of the current program or procedure/function and the program stack - program name and line number - from which it was called.

Keyword Description
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

list calls