concatArrays() Operation
Concatenates the elements of one or more arrays to a target array.
Syntax |
| |
---|---|---|
Semantics | Concatenates the elements of one or more arrays to the elements of
| |
Substitutables |
| Can be any variable or object attribute having the type Array. The arrays must not be |
Error Codes | Find the related error codes on System Errors. | |
| One of the parameters of a vararg function returned NULL. | |
Examples | Input: an array of customers and an array of prospects
JSON
JSON
CODE
A new array resultArray is created containing all references to elements of the listed arrays.
JSON
The NULL values of the prospect array are preserved. Note that the resultArray contains object references to the array elements of customers and prospects. Refer to Object References to get a better understanding of the effects. |
ActionScript_ArrayOperations_Example
Click here to download a simple example model that shows how to use Action Script to handle arrays with Scheer PAS Designer.
Related Content
Related Pages:
- append Statement
Appends an object to an array.
- buildMap() Operation
Builds a map from an array.
- concatArrays() Operation
Concatenates the elements of one or more arrays to a target array.
Object References
The Designer uses references for all objects. This page explains the concept and implications of object references.