The following are the Array object functions for COD scripts.

FunctionExampleDescription
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
del<array>.del(3)delete 3rd array item
insert<array>.insert("C", 3)insert item at position