INCLAN: echo: Difference between revisions

From CYANA Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
The '''echo''' variable determines which commands are echoed, i.e. copied to standard output before execution. The possible settings are:
== Synopsis ==


; off
'''echo'''  
:Commands are not echoed.
;NULL
:(or not set at all) In macros, all commands except those built into the command line interpreter are echoed; interactive commands are not echoed.
;on
:Commands that are not built into the command interpreter are echoed regardless of whether they occur in macros or interactively.
;large
:Same as '''on''', except that the echo is surrounded by blank lines.
;full
:All commands are echoed, and the corresponding line numbers in macros are given.


Labels are not included in the echo, but variable substitutions are. Statements preceded by "@" are only echoed if '''echo''' has the value '''full'''.
== Description ==
 
Determines which commands are echoed, i.e. copied to standard output before execution. The possible settings are:
;NULL:(or not set at all) In macros, all commands except those built into the command line interpreter are echoed;interactive commands are not echoed.
 
;off:Commands are not echoed.
 
;on:Both in macros and interactively, all commands except those built into the command line interpreter are echoed.
 
;large:Same as '''on''', except that the echo is surrounded by blank lines.
 
;full:All commands are echoed, and the corresponding line numbers in macros are given.
 
;OFF:Same as '''off''', except that this setting can only be overridden by another value written in capital letters.
 
;ON:Same as '''on''', except that this setting can only be overridden by another value written in capital letters.
 
;LARGE:Same as '''large''', except that this setting can only be overridden by another value written in capital letters.
 
;FULL:Same as '''full''', except that this setting can only be overridden by another value written in capital letters. This setting is particularly useful for debugging macros in which the echo is suppressed.
 
Labels are not included in the echo, but variable substitutions are. Statements preceded by “'''@'''” are only echoed if '''echo''' has the value '''full''' or '''FULL'''.

Latest revision as of 13:26, 17 August 2009

Synopsis

echo

Description

Determines which commands are echoed, i.e. copied to standard output before execution. The possible settings are:

NULL
(or not set at all) In macros, all commands except those built into the command line interpreter are echoed;interactive commands are not echoed.
off
Commands are not echoed.
on
Both in macros and interactively, all commands except those built into the command line interpreter are echoed.
large
Same as on, except that the echo is surrounded by blank lines.
full
All commands are echoed, and the corresponding line numbers in macros are given.
OFF
Same as off, except that this setting can only be overridden by another value written in capital letters.
ON
Same as on, except that this setting can only be overridden by another value written in capital letters.
LARGE
Same as large, except that this setting can only be overridden by another value written in capital letters.
FULL
Same as full, except that this setting can only be overridden by another value written in capital letters. This setting is particularly useful for debugging macros in which the echo is suppressed.

Labels are not included in the echo, but variable substitutions are. Statements preceded by “@” are only echoed if echo has the value full or FULL.