feof - test a file's end-of-file indicator
file.feof()
The end-of-file indicator for a File
may be
tested with the feof()
intrinsic method. The
end-of-file indicator can be cleared with the
clearerr()
intrinsic method.
Returns true
if the end-of-file indicator is
set, false
otherwise.
ArgCheck
if arguments are specified
TypeCheck
if file is not a
File
AccessCheck
if
file is closed
while (!io::Input.feof()) { var ch = getchar(); if (ch != io::EOF) putchar(ch); }