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.

:=<br />

Syntax<br />

var := expr<br />

Description<br />

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

The := arithmetic operator concatenates the value of an expression to a variable.<br />

Tip: Using the := operator is a more efficient way of concatenating a variable. For<br />

example, LINES := 0 is more efficient than LINES = LINES CAT 0.<br />

Example<br />

In the following example, the variable LINES is concatenated with 0, which sets<br />

LINES equal to 100:<br />

LINES = 10<br />

LINES := 0

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

Saved successfully!

Ooh no, something went wrong!