Is there a way to control which line the sr.readline reads? I can't seem to control which line it starts with. If I place an sr.readline in different locations it always seems to read the first line.
my second question is if I have about 20 or 30 numbers to read in from a text file should I read them all in to variables such as V1, V2, V3, V4, etc or just try and use the sr.readline as mentioned above.
my last question is if I do try to read them into multiple variables V1, V2, V3, etc. How would I dim each one before it is created. I want it to work weather there are 3 variables or 3,000, like so.
i = 1
dim V(i) as double
V1=sr.readline
i=i+1
I can handle all the code/error checking except for dim the variable part.
Thanks in advance,
swu
my second question is if I have about 20 or 30 numbers to read in from a text file should I read them all in to variables such as V1, V2, V3, V4, etc or just try and use the sr.readline as mentioned above.
my last question is if I do try to read them into multiple variables V1, V2, V3, etc. How would I dim each one before it is created. I want it to work weather there are 3 variables or 3,000, like so.
i = 1
dim V(i) as double
V1=sr.readline
i=i+1
I can handle all the code/error checking except for dim the variable part.
Thanks in advance,
swu