AndyCrellin
MIS
I have a small app that at some point sets up an array of doubles of x dimensions of size l_x. x can be up to 20, and the size of each dimension can be anything.
What is the quickest way of setting each element in the array to a certain number (say 1), while not knowing the number of dimensions? I think the "
" loop may be the one, but I can't find a decent reference for using it for multi-dimensional arrays rather than 1-d arrays or collections of standard objects.
Many thanks for nay help,
Andy.
What is the quickest way of setting each element in the array to a certain number (say 1), while not knowing the number of dimensions? I think the "
Code:
for each...Next
Many thanks for nay help,
Andy.