Can LOF(1) be used in this case?
Store what the previous LOF was, check against it, and if the current LOF is longer then read the info.
(+1 may not be needed above when sizing for a$)
Store what the previous LOF was, check against it, and if the current LOF is longer then read the info.
Code: (Select All)
'only a pseudo-type concept of code flow I'm thinking of
L = LOF(1)
DO
LF1 = LOF(1) 'to store lof once per read and see if there's new data
IF LF1 > L THEN 'there's new data
a$ = SPACE$(LF1 - L +1) 'set a string to the size of the new data
GET #1, , a$ 'this should be the whole data read in one pass.
L = LF1 'L is now the new LOF(1)
END IF
'do whatever with a$
LOOP(+1 may not be needed above when sizing for a$)

