Append
This reference topic applies to FQL v4. Go to this page for the latest FQL v10 reference topics. |
Append( elems, base )
append( elems, base )
Append( elems, base )
Append( elems, base )
Append( elems, base )
Append( elems, base )
Description
The Append
function creates a new array that is the result of
combining the base Array followed by the elems
. This is a specialized
function, and only works with arrays and not pages.
Parameters
Parameter | Type | Definition and Requirements |
---|---|---|
|
Value or Array of Values |
The elements to add to the end of the base array. |
|
Array |
The base array. |
Examples
The following example creates a new array containing the base
array’s
values, (1, 2, 3), followed by the elems
array’s values, (4, 5, 6).
[ 1, 2, 3, 4, 5, 6 ]
[1, 2, 3, 4, 5, 6]
[1 2 3 4 5 6]
Arr(LongV(1), LongV(2), LongV(3), LongV(4), LongV(5), LongV(6))
[1, 2, 3, 4, 5, 6]
[ 1, 2, 3, 4, 5, 6 ]