Detect array dimensions in a particular array programmatically at runtime

Interestingly, in 2020r1 the local LR for Arrays.LastRowIndex matches the online version but the code

Var ary (3, 5) As Integer
Var numDims As Integer
numDims = ary.LastRowIndex (-1)

still returns the number of dimensions in the array. So there is a variance between what the documentation says and what actually happens.

1 Like