Welcome to jBASE's new documentation site! Many answers to your questions can be found by searching the Knowledgebase or viewing the jBASE Documentation. We also have a Google Group for peer discussion about jBASE. If you are unable to find the information you are looking for, jBASE Support will be glad to assist in resolving your technical problems. Enjoy and please provide comments and feedback .

How can we help you?

CATS

Description

The CATS function concatenates the corresponding elements in two dynamic arrays. The function usually takes the form:

CATS(DynArr1, DynArr2)

Where DynArr1 and DynArr2 are dynamic arrays.

 

Note:

If one dynamic array supplied to the CATS function is null then the result of the CATS function is the non-null dynamic array.

An example of use is as:

0001     A = "a" : @SM : "b" : @VM : "c": @VM : "d"
0002     B = "x" : @VM : "y" : @SM : "z"
0003     CRT  CATS(A, B)

to display: 

ax : @SM : b : @VM : cy : @SM : z : @VM : d


Go back to jBASE BASIC.

Was this article helpful?