HUSH

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

 

COMMAND SYNTAX

HUSH ON
HUSH OFF
HUSH 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.

Do not use this statement to shut off output display unless you are sure the display is unnecessary. When you use HUSH ON, all output is suppressed including error messages and requests for information.

 

EXAMPLES

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

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


jBC