Documentation

arrhigh

Syntax: %arrhigh(arrayname)

return the index value of the last element in the array

Examples:

#VAR a %array(1,2,3)
#SHOW %arrhigh(a)

displays:

2

Remember that the lowest element has an index of ZERO. So, the index values for this array are: 0,1,2.

Add comment

Login or register to post comments