I have to read a line which has the data as follows:
Now, I want to read that line as an array.Code:1.0 1.0 70.0 70.0
I have already defined the name of array as following.
I now there will be four numbers that I am interested.Code:Dim D50() as Double
Then I tried to read as follows:Code:Dim numb as Integer numb = 4 ReDim D50(numb)
Dim strline as String
strline = " 1.0 1.0 70.0 70.0"
What is the best way to assign D50 to those 4 numbers ?




Reply With Quote
