can any one tip me on How to declare and manipulate data with multi dimensional arrays.
store variables in to an array ( say arr1(5,5,5) ),
and how to assign array data to variables.
thanx in advance
Printable View
can any one tip me on How to declare and manipulate data with multi dimensional arrays.
store variables in to an array ( say arr1(5,5,5) ),
and how to assign array data to variables.
thanx in advance
Quote:
Originally Posted by santosh66
VB Code:
dim myarray(4,4,4) as integer ' 0-4 = 5 (5^3 = 125) dim x%, y%, z% for x=0 to 4 for y=0 to 4 for z=0 to 4 myarray(x,y,z) = x * y * z next z next y next x x = myarray(2,1,3) msgbox x
It doesn't do much, but it does what you asked. :wave: