EOF(buffer) Returns a value of 0 if there is more data to read in the buffer and a value of -1 if there is no more data in it.
IF EOF(1) = -1 THEN CLOSE #1
Return to Tandy Color Computer or Color BASIC