Hi guys,
I am strugling here with a CSV file.
The file starts of with a lot of blablabla..
After that is starts of with a line beginning with VOR_ where I want to fetch the second field.
After this line it I want to fetch all the fields in this line for about 20 lines.
Then it starts over with a line beginning with VOR_ and so on..
It looks somewhat like this:
I am trying to use a loop and the
Input #1, field1
function.
But can't get it to work.
As I am just an amateur in this and still learning,
I was wondering if someone could give me some advice on how to proceed.
Thanks in advance.
I am strugling here with a CSV file.
The file starts of with a lot of blablabla..
After that is starts of with a line beginning with VOR_ where I want to fetch the second field.
After this line it I want to fetch all the fields in this line for about 20 lines.
Then it starts over with a line beginning with VOR_ and so on..
It looks somewhat like this:
Code:
rubish
rubish
rubish
rubish
VOR_1234,123456,,,,,,and_some_more
1,FIELD1,FIELD2,FIELD3,...,FIELD30
2,FIELD1,FIELD2,FIELD3,...,FIELD30
3,FIELD1,FIELD2,FIELD3,...,FIELD30
4,FIELD1,FIELD2,FIELD3,...,FIELD30
etc.
VOR_1235,654321,,,,,,and_some_more
etc.
I am trying to use a loop and the
Input #1, field1
function.
But can't get it to work.
As I am just an amateur in this and still learning,
I was wondering if someone could give me some advice on how to proceed.
Thanks in advance.