The following are the Array object properties for COD scripts.

PropertyExampleDescription
arraydim as arrayInitialize array
array<#>dim as array(3)Initialize 3 item array
[<index>]<array>[3]
<array>[3] = "D"
read 3rd value
set 3rd value
add<array>.add("A", "B", "D", "E")adds/append to array
count<array>.count# of items in array
del<array>.del(3)delete 3rd array item
insert<array>.insert("C", 3)insert item at position