var
f : file of TYPE;
...
reset(f);
The "reset" procedure sets up a file for reading. This means that the file is "rewound" to its beginning, and that the first element in the file is read into the buffer variable "f^". If "f" is not empty, "eof(f)" becomes false. If "f" is empty, "eof(f)" will be true and the contents of "f^" will be undefined.
Copyright © 1996, Thinkage Ltd.