Array - Set

Declaration

<AMARRAY ACTIVITY="set" NAME="text"><SETTER VARIABLE="text" VALUE="text" /><SETTER /></AMARRAY>

Description:

Sets the values of one or more elements in array.

Practical Usage

Changes the values of an array.

Parameters

General

Property

Type

Required

Default

Markup

Description

Array name

Text

Yes

(Empty)

NAME="Array_Name"

The name of the array to set.

Variable

Text

Yes

(Empty)

SIZE="23"

The new size of the right-most boundary of the array.

Value

 

 

 

 

 

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: Create a double-dimensioned array of size 1 x 2 named "theArray".

<AMARRAY ACTIVITY="set" NAME="text" STARTINDEXZERO="YES"><SETTER INDEX="sampleIndex1" VALUE="text1" /><SETTER INDEX="sampleIndex2" VALUE="text2" /></AMARRAY>