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.

INPUTIF<br />

Syntax<br />

INPUTIF var [THEN statements] [ELSE statements]<br />

Description<br />

The <strong>UniBasic</strong> INPUTIF command retrieves input from the type-ahead buffer and<br />

assigns the input to a variable.<br />

Parameters<br />

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

Parameter Description<br />

Related <strong>Commands</strong><br />

<strong>UniBasic</strong><br />

CLEARINPUT, INPUT, INPUT @, PROMPT, SYSTEM<br />

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

var Specifies the target variable for input data.<br />

THEN statements Executes statements if data is available in the type-ahead buffer.<br />

ELSE statements Executes statements if data is not available in the type-ahead<br />

buffer.<br />

INPUTIF Parameters

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

Saved successfully!

Ooh no, something went wrong!