I have a file containing the first name, second name and age of a person:
John, Smith, 35
Andrew, Jacobs, 52
I have split up the first name, second name and age and put them into arrays.
Becuase I know that there are 2 people (I set the array size to 1) , I am using the following 'for' loop:
For x = 0 to 1
textbox1.text = textbox1.text + first_name(x)
Next
I want to change this to the following:
For x = 0 to however long the file is
textbox1.text = textbox1.text + first_name(x)
Next
However, when I try to use 0 to first_name.length it doesn't work.