reset (f): resets the file window to the beginning for the purpose of reading, i.e. assigns to f? the value of the first element of f. eof (f) becomes false if f is not empty; otherwise, f? is not defined, and eof (f) remains true.