I'm sorry, i'm sure this has a very simple solution and i've trawled the internet pretty hard looking for it. Basically, i want to declare an array with a name that is the value of a variable. I need to do this because i want to create arrays from a text file that i'm reading.
Basically, if someone could make this work then i should be able to change it to fit my use.
------------------------------
Dim var1 As String = howdy
Dim var1() as Integer
------------------------------
In this case i'd like to be declaring an array with the name 'howdy' that stores integers. In reality i'm looping a bunch of read names and would like to create an array for each name i read- but i'm quite capable of sorting the rest.
Thanks in advance for any help!
Basically, if someone could make this work then i should be able to change it to fit my use.
------------------------------
Dim var1 As String = howdy
Dim var1() as Integer
------------------------------
In this case i'd like to be declaring an array with the name 'howdy' that stores integers. In reality i'm looping a bunch of read names and would like to create an array for each name i read- but i'm quite capable of sorting the rest.
Thanks in advance for any help!