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.

CATS<br />

Syntax<br />

CATS(array1,array2)<br />

Description<br />

The <strong>UniBasic</strong> CATS function concatenates array1 to array2. Each element of array2<br />

is concatenated to its corresponding element in array1.<br />

Example<br />

In the following example, the program segment concatenates array A to array B and<br />

prints 300A}400B}401C}402D}100E:<br />

A = 300:@VM:400:@VM:401:@VM:402:@VM:100<br />

B = "A":@VM:"B":@VM:"C":@VM:"D":@VM:"E"<br />

C = CATS(A,B)<br />

PRINT C<br />

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

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

CAT, SPLICE<br />

CATS 1-130

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

Saved successfully!

Ooh no, something went wrong!