Array – definition

An Array is a type of variable but it can contain more than one value at the same time. Each individual value you store in an Array is called an element. You can retrieve or change the value of an element by finding its Index position, which always remains the same.

 

Element Name

Value of Element

 

Days[1]

Sunday

 

 

Days[2]

Monday

 

In the example above, the array variable named Days has two elements. The first element (Index position 1) contains the value Sunday; while the second element (Index position 2) contains the value Monday.

Note: Each element in an array can be set or reset using the Set Variable Array action or within an OpusScript expression.

Creating Arrays in Opus

Close