Traversing an array of unknown dimensions

Started by
13 comments, last by yaroslavd 19 years, 10 months ago
LOL, no.
Advertisement
I''m having another problem. Now I just need to know the length of each dimension. However, the Length property returns the number of elements in ALL the dimensions and I can''t find a property/method that does what I want.
Do something like array[x][y].length() if the array is array[x][y][z]
My fellow Americans I have just signed legislation that outlaws Russia forever. Bombing will commence in five minutes.
GetUpperBound, passing in the dimension, returns the largest valid index for that dimension. Add one, and you have the length!
Thanks, Zipster! Once again it''s exactly what I needed.

This topic is closed to new replies.

Advertisement