Thats interesting that you should say that - I wondered whether the numbers should be the other way around, as I described in this post in the thread, the dimensions seem to run from the right to the left, but then I'm not entirely sure that the innermost element is the "first" dimension, or the "last"...
Perhaps I don't understand as much as I think I do...
Lee, you're much better at all of this stuff than I am but I'ma try to explain how I understand it by running a test against my belief of how it works.
(setq SATest (vlax-make-safearray vlax-vbString '(0 . 4) '(1 . 6) '(2 . 4)))
(vlax-safearray->list SATest)
(
(("" "" "")
("" "" "")
("" "" "")
("" "" "")
("" "" "")
("" "" "")
)
(("" "" "")
("" "" "")
("" "" "")
("" "" "")
("" "" "")
("" "" "")
)
(("" "" "")
("" "" "")
("" "" "")
("" "" "")
("" "" "")
("" "" "")
)
(("" "" "")
("" "" "")
("" "" "")
("" "" "")
("" "" "")
("" "" "")
)
(("" "" "")
("" "" "")
("" "" "")
("" "" "")
("" "" "")
("" "" "")
)
)
The first dimension '(0 . 4) should contain 5 elements, or lists. Basically, 5 groups like this:
(("" "" "")
("" "" "")
("" "" "")
("" "" "")
("" "" "")
("" "" "")
)
It does.
The second dimension '(1 . 6) says that each of
those lists should contain 6 elements, or lists. Basically, 6 groups like this:
("" "" "")
Yep. The third dimension '(2 . 4) says that each of
those lists should contain 3 elements (an empty string in this case) and, looking at the list, it's obvious that it does.