array.size

Syntax

ir = array.size(a,i)

Get the size of an array dimension. For example, if the array is 4x3 then array.size of dimension 1 returns 4, while array.size of dimension 2 returns 3.

Returns:

ir - array size

Arguments:

a - array pointer

i - array dimension