...

View Full Version : 2d arrays



ghell
07-07-2004, 04:50 PM
1d arrays you can write as
somearray = Array("fgsdgg",2,"gsgsg")
or
somearray(0) = "fgsdgg"
somearray(1) = 2
somearray(2) = "gsgsg"

is ther any way to do the 1st method with 2d arrays or do you have to use the 2nd method (+ commas :p)

ghell
07-11-2004, 08:40 AM
i hate being ignored _

Roy Sinclair
07-12-2004, 08:07 PM
Surprisingly, this works:



dim ee
ee = Array(Array(1,2,3),Array(4,5,6),Array(7,8,9))
response.write ee(0)(0)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum