Array - Resize

Declaration

<AMARRAY ACTIVITY="redim" NAME="text" SIZE="number" />

Related Topics   

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.

Description

Error Causes

On Error

Example

NOTE:
  • The sample AML code below can be copied and pasted directly into the Steps Panel of the Task Builder.
  • Parameters containing user credentials, files, file paths, and/or other information specific to the task must be customized before the sample code can run successfully.

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" />