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.

Example<br />

In the following example, the program statement performs a GOSUB to label ASUB<br />

if the user enters H or to label BSUB if the user enters B:<br />

INPUTTRAP 'HB' GOSUB ASUB,BSUB<br />

INPUT@ (10,10) VALUE<br />

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

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

IN, INPUT, INPUT @, INPUTERR<br />

INPUTTRAP 1-396

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

Saved successfully!

Ooh no, something went wrong!