Documentation Comments
Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.
RealityV15.1Online Documentation (MoTW) Revision 7
ECHO Statement (DataBasic) (m618703+echo_s.htm)
Controls the echoing of input characters.
ECHO ON
ECHO OFF
ECHO expression
expression is a DataBasic expression or a variable that evaluates to a numeric value.
If expression evaluates to zero, echoing is disabled (same as ECHO OFF).
If expression evaluates to a nonzero value, echoing is enabled (ECHO ON).
ECHO ON enables the echoing of input characters to the terminal, while ECHO OFF suppresses echoing of input characters.
The current state of the ECHO feature can be determined using the SYSTEM(24) function.
ECHO replaces the user exit (U80E0) for controlling the echoing of input characters.
ECHO ON
INPUT X
Echoes the value of X to the terminal.
ECHO OFF
INPUT Y
Suppresses display of the value of Y on the terminal.
A = 35
B = 42
ECHO A+B
Enables echoing of characters, because the value of expression A+B evaluates to a nonzero.