Difference between revisions of "SET ECHO"

From Recital Documentation Wiki
Jump to: navigation, search
 
(Products)
 
(5 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 12: Line 5:
 
==Syntax==
 
==Syntax==
 
SET ECHO ON | OFF | (<expL>)
 
SET ECHO ON | OFF | (<expL>)
 +
 +
 +
==See Also==
 +
[[RESUME]], [[SET DEBUG]], [[SET DOHISTORY]], [[SET HISTORY]], [[SET STEP]], [[SET TALK]], [[SUSPEND]]
  
  
 
==Description==
 
==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.
 
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.
 
 
==See Also==
 
SET STEP, SET DEBUG, SET HISTORY, SET DOHISTORY, SET TALK, SUSPEND, RESUME
 
  
  
 
==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]]
+
[[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