The CATS function concatenates the corresponding elements in two dynamic arrays.
Command Syntax
CATS (DynArr1, DynArr2)
Syntax Elements
DynArr1 and DynArr2 represent dynamic arrays.
Notes
If one dynamic array supplied to the CATS function is null then the result of the CATS function is the non-null dynamic array.
Example
X = "a" : @VM : "b" : @VM : "c"
B = 1 : @VM : 2 : @VM : 3
Z = CATS(X, Y)
The assigned value to variable Z is:
a1 : @VM : b2 : @VM : c3
// NEW Example
A = "a" : @SVM : "b" : @VM : "c": @VM : "d"
B = "x" : @VM : "y" : @SVM : "z"
C = CATS(A, B)
The assigned value to variable C is:
ax : @SVM : b : @VM : cy : @SVM : z : @VM : d
0 comments:
Post a Comment