11.04.2013 Views

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Parameter Description<br />

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

_ UniData waits for you to press ENTER before processing data input at<br />

the keyboard. If you do not use the underscore parameter, UniData<br />

stops accepting input when you exceed the maximum number of<br />

characters.<br />

Use the underscore parameter you want the capability of backspacing<br />

after entering the maximum number of characters. For example, if you<br />

specify “INPUT X,5_”, you can backspace to modify the entry after<br />

entering five characters.<br />

mask Specifies a format or conversion mask. For format options and instructions<br />

about building a conversion mask, see OCONV Masked Decimal<br />

(MD).<br />

FOR | WAITING<br />

time.expr<br />

Specifies the amount of time to wait for input. If the input is not<br />

entered when this period expires, var does not change, and the ELSE<br />

clause executes. If no ELSE nor THEN clause exists, the session<br />

terminates at the end of the wait time.<br />

UNFILTERED Sets INPUT @ to capture raw characters (such as backspace, up arrow,<br />

down arrow, or RETURN) from the keyboard.<br />

THEN<br />

statements |<br />

ELSE statements<br />

If the ECL TIMEOUT command has been executed:<br />

THEN executes if the input variable contains at least one character.<br />

ELSE executes if the input variable contains an empty string. If no<br />

ELSE clause is coded, UniData logs you out and displays the ECL<br />

prompt.<br />

If the ECL TIMEOUT command has not been executed, the program<br />

waits indefinitely for input.<br />

INPUT @ Parameters (continued)

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

Saved successfully!

Ooh no, something went wrong!