file% = OPENIN("input.txt") strvar$ = STRING$(EXT#file%, " ") SYS "ReadFile", @hfile%(file%), !^strvar$, EXT#file%, ^temp%, 0 CLOSE #file%