Difference between revisions of "SET ECHO"

From Recital Documentation Wiki
Jump to: navigation, search
(Products)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=SET ECHO=
 
 
 
==Class==
 
Error Handling and Debugging
 
 
 
 
==Purpose==
 
==Purpose==
 
Toggle display of commands from programs as they are being executed
 
Toggle display of commands from programs as they are being executed
Line 15: Line 8:
  
 
==See Also==
 
==See Also==
[[RESUME]], [[SUSPEND]], [[SET DEBUG]], [[SET DOHISTORY]], [[SET HISTORY]], [[SET STEP]], [[SET TALK]]
+
[[RESUME]], [[SET DEBUG]], [[SET DOHISTORY]], [[SET HISTORY]], [[SET STEP]], [[SET TALK]], [[SUSPEND]]
  
  
Line 23: Line 16:
  
 
==Example==
 
==Example==
<pre>
+
<code lang="recital">
 
set echo on
 
set echo on
 
set step on
 
set step on
do testprg</pre>
+
do testprg</code>
  
  
 
==Products==
 
==Products==
Recital Terminal Developer
+
Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
 
[[Category:Set_Commands|ECHO]]
 
[[Category:Set_Commands|ECHO]]
 +
[[Category:Error Handling and Debugging]]
 +
[[Category:Error Handling and Debugging Set Commands]]

Latest revision as of 15:38, 23 November 2009

Purpose

Toggle display of commands from programs as they are being executed


Syntax

SET ECHO ON | OFF | (<expL>)


See Also

RESUME, SET DEBUG, SET DOHISTORY, SET HISTORY, SET STEP, SET TALK, SUSPEND


Description

If SET ECHO is ON, then commands from program files are echoed to the screen | printer as they are executed. This command is primarily used during program debugging. By default, ECHO is OFF.


Example

set echo on
set step on
do testprg


Products

Recital