arrget

Syntax: %arrget(arrayname,index)

return an element from an array. This is like arrayname[index] in other languages. If you ask for an element that is not in the array, a null string is returned. Index values start at ZERO.

Examples:

#VAR a %array(1,"test","hello")
#SHOW %arrget(a,2)

displays:

test


Contents array arrhigh