ECHO


The ECHO statement will turn on or off the echoing of characters typed at the keyboard.

 

COMMAND SYNTAX

ECHO ON
ECHO OFF
ECHO expression

 

SYNTAX ELEMENTS

The statement may be used with the keywords ON and OFF to specify echoing or not. If used with an expression, then the expression should evaluate to a Boolean TRUE or FALSE result. If TRUE then echoing will be turned on, and if FALSE, echoing will be turned off.

 

NOTES

The SYSTEM function can be used to determine the current state of character echoing. If echoing is enabled then SYSTEM(24) will return Boolean TRUE and if disabled it will return Boolean FALSE.

 

EXAMPLES

ECHO OFF
CRT "Enter your password ":
INPUT Password
ECHO ON
.....

This will disable character input echoing while a password is typed in.


jBC