Difference between revisions of "LIST CALLS"

From Lianjapedia
Jump to: navigation, search
Line 31: Line 31:
 
[[Category:Error Handling and Debugging]]
 
[[Category:Error Handling and Debugging]]
 
[[Category:Error Handling and Debugging Commands]]
 
[[Category:Error Handling and Debugging Commands]]
[Category:Error Handling]]
+
[[Category:Error Handling]]

Revision as of 07:08, 12 December 2012

Purpose

List program stack

Syntax

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

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.
TO PRINT The display output will be sent to a printer.

Example

set printer to \\spooler
on error list calls to print