Array - Resize
Declaration
<AMARRAY ACTIVITY="redim" NAME="text" SIZE="number" />
Description
Changes the size of the right-most (least significant) boundary of an array. The array must have already been created using the Array - Create activity.
Practical usage
Reallocates storage space for an array.
Parameters
General
Property | Type | Required | Default | Markup | Description |
---|---|---|---|---|---|
Array name | Text | Yes | (Empty) | NAME="Array_Name" | The name of the array to modify. |
New size | Number | Yes | 0 | SIZE="23" | The new size of the right-most boundary of the array. |
Example
NOTE:
- Copy and paste the sample AML code below directly into the Task Builder Steps Panel.
- To successfully run the sample code, update parameters containing user credentials, files, file paths, or other information specific to the task to match your environment.
Description
This sample task changes the size of the right-most boundary of an array to 6.
Copy
<AMARRAY ACTIVITY="redim" NAME="Array_Name" SIZE="6" />