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.

Example<br />

In the following example, the program segment waits 15 seconds for 10 characters of<br />

input from line 0. If time expires before 10 characters are received from the attached<br />

line, UniData stops receiving, returns the data received, and performs the ELSE<br />

clause.<br />

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

GET TMP,10 FROM 0 WAITING 15<br />

ELSE PRINT "Input time has expired"<br />

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

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

SEND<br />

UniData<br />

PROTOCOL – For information, see the UniData <strong>Commands</strong> <strong>Reference</strong>.

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

Saved successfully!

Ooh no, something went wrong!