array.size

Syntax

ir := array.size(a<,i>)

Get the size of all array dimensions, or the size of one particular array dimension. For example; if the array is 4x3 then array.size() will return a 2 element list containing the integers (4,3), array.size(1) will return 4, and array.size(2) will return 3.

Returns:

ir - Either a list of all array dimensions or the size of one array dimensions

Arguments:

a - array

i - array dimension