Difference between revisions of "SET DEBUG"

From Recital Documentation Wiki
Jump to: navigation, search
Line 1: Line 1:
=SET DEBUG=
 
 
 
 
==Class==
 
==Class==
 
Error Handling and Debugging
 
Error Handling and Debugging
Line 23: Line 20:
  
 
==Example==
 
==Example==
<pre>
+
<code lang="recital">
 
set debug on
 
set debug on
 
set echo on
 
set echo on
do yourproc</pre>
+
do yourproc</code>
  
  

Revision as of 14:20, 15 April 2009

Class

Error Handling and Debugging


Purpose

Toggle sending of echoed commands to printer


Syntax

SET DEBUG ON | OFF | (<expL>)


See Also

SET ALTERNATE, SET ECHO, SET PRINT, SET PRINTER, SET TALK


Description

If SET DEBUG is ON and SET ECHO is ON, then each command that is read from a program file is displayed on the printer. This command is primarily used in program debugging. By default, DEBUG is OFF.


Example

set debug on
set echo on
do yourproc


Products

Recital Terminal Developer