.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Array of Arrays?

4 REPLIES 4
Reply
Message 1 of 5
Anonymous
225 Views, 4 Replies

Array of Arrays?


How do I create an array of arrays..?



Test(0) = ("yes", "no", 1)

Test(1) = ....  



etc.



?



Doesn't seem to matter what I do/use I keep getting errors.   I've
tried "Array" "Arraylist" and "Collection"..  nada..



--

Work: VISTA Ultimate x32 - AMD 64 X2
Dual Core 4200 2.2GHz, 4 Gigs Ram, GeForce
6800GS 256MB


Home: VISTA Ultimate x64 - AMD 64 Quad
Core 2.2GHz, 8 Gigs Ram, GeForce 8600GT 512MB


Laptop (17" HP): VISTA Premium x32 -
color="#000000">AMD Turion X2 Dual Core TL-50 1.6GHz, 2 Gigs Ram,
color="#666666">Nvidia GeForce 6150

4 REPLIES 4
Message 2 of 5
Anonymous
in reply to: Anonymous

If you are talking about jagged array
try this code

Dim jagg_arr()() As Object = { _
New Object() {"yes", "no", 1}, _
New Object() {"take", "it", "easy", 777} _
New Object() {True, False, 0.001, 0.002, 0.003} _
'// etc.
}

~'J'~
Message 3 of 5
Anonymous
in reply to: Anonymous


I didn't know there was such a thing..  but I will give it a try.  



ty



Work: VISTA
Ultimate x32 - AMD 64 X2 Dual Core 4200 2.2GHz, 4 Gigs Ram,
color="#666666">GeForce 6800GS 256MB


Home: VISTA Ultimate x64 - AMD 64 Quad
Core 2.2GHz, 8 Gigs Ram, GeForce 8600GT 512MB


Laptop (17" HP): VISTA Premium x32 -
color="#000000">AMD Turion X2 Dual Core TL-50 1.6GHz, 2 Gigs Ram,
color="#666666">Nvidia GeForce 6150





fixo wrote:

If you are talking about jagged array
try this code

Dim jagg_arr()() As Object = { _
New Object() {"yes", "no", 1}, _
New Object() {"take", "it", "easy", 777} _
New Object() {True, False, 0.001, 0.002, 0.003} _
'// etc.
}

~'J'~


Message 4 of 5
Anonymous
in reply to: Anonymous


Yup.  that did the trick.  ty



Work: VISTA
Ultimate x32 - AMD 64 X2 Dual Core 4200 2.2GHz, 4 Gigs Ram,
color="#666666">GeForce 6800GS 256MB


Home: VISTA Ultimate x64 - AMD 64 Quad
Core 2.2GHz, 8 Gigs Ram, GeForce 8600GT 512MB


Laptop (17" HP): VISTA Premium x32 -
color="#000000">AMD Turion X2 Dual Core TL-50 1.6GHz, 2 Gigs Ram,
color="#666666">Nvidia GeForce 6150





fixo wrote:

If you are talking about jagged array
try this code

Dim jagg_arr()() As Object = { _
New Object() {"yes", "no", 1}, _
New Object() {"take", "it", "easy", 777} _
New Object() {True, False, 0.001, 0.002, 0.003} _
'// etc.
}

~'J'~


Message 5 of 5
Anonymous
in reply to: Anonymous

You're welcome

~'J'~

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost