11.04.2013 Views

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ECHO<br />

Syntax<br />

ECHO [ON | OFF | expr]<br />

Description<br />

The <strong>UniBasic</strong> ECHO command controls whether characters display on the terminal<br />

screen as you type them on the keyboard.<br />

Tip: Use ECHO for security purposes when the entry of an ID or password should<br />

not display on the terminal screen.<br />

Parameters<br />

The following table describes each parameter of the syntax.<br />

Parameter Description<br />

Example<br />

The following program segment enables echoing because A+B is not 0:<br />

A = 1<br />

B = 3<br />

ECHO A+B<br />

1-218 <strong>UniBasic</strong> <strong>Commands</strong> <strong>Reference</strong><br />

ON Enables the display of characters as you type them on the keyboard.<br />

OFF Disables the display of characters as you type them on the keyboard.<br />

expr When expr is 0, ECHO is set to OFF. When expr is not 0, ECHO is set to<br />

ON. expr must be numeric.<br />

ECHO Parameters

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!