Array - Resize

Declaration

<AMREDIMARRAY NAME="text (array name)" 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 Create array 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.

Description: Change the size of the right-most boundry of array "Array_Name" to 6.  

<AMREDIMARRAY NAME="Array_Name" SIZE="6" />