Cptn-Grey |
Posted - Jan 27 2006 : 7:41:23 PM does anyone know if vb6 supports multidimensional arrays? |
Cptn-Grey |
Posted - Jan 30 2006 : 7:44:22 PM thanks for the info. that will probably come in handy somewhere down the road. |
Eric Coleman |
Posted - Jan 29 2006 : 3:32:04 PM And you can use UBound and LBound to get the respective bounds of each array dimension.
Debug.print UBound(a, 1) 'upper bound of first array dimension Debug.print UBound(a, 2) 'upper bound of second array dimenions |
Cptn-Grey |
Posted - Jan 29 2006 : 02:17:56 AM Thanks for the tip. i allready knew how use multidimensional arrays in c++ but wasn't even sure if they exsisted in vb. thanks again. :) |
Lachlan87 |
Posted - Jan 28 2006 : 09:26:46 AM I believe this is what you want:
Dim a(9, 9) As Integer
a(4, 7) = 1337
|