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.

Relational Operators<br />

The following table describes the relational operators for <strong>UniBasic</strong>.<br />

Operator<br />

Multivalued<br />

Equivalent Description Example<br />

=, EQ EQS Equal to. IF VAR1 = VAR2<br />

THEN GOSUB SUB1<br />

DO UNTIL VAR1 =<br />

VAR2<br />

#, , > Y THEN<br />

GOSUB 1000<br />

>, GT GTS Greater than. IF VAR1 > VAR2<br />

THEN GOSUB SUB1<br />

DO UNTIL VAR1 ><br />

VAR2<br />

=, =>, #= VAR2<br />

THEN GOSUB SUB1<br />

DO UNTIL VAR1<br />

=> VAR2<br />

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

Saved successfully!

Ooh no, something went wrong!