i'm trying to parse a text file, the problem is that at certain points of the file, i need to loop through certain parts of the file. For example:

**tag1 : some info here
**tag2 : more info
**tag3 : info
**this is where i need to loop thru
**info, if there is no colons on the line.
**and i need to concatenate it

if the line contains a ":", there's no problem, but the minute i need to loop thru a part, i'm not sure how to handle it.

do until eof(1)
line input #1, s
if instr(s, ":") > 0 then
'grabs necessary info
else
'need to loop and get info, having problems here
endif