[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
EOF End of File Status
y = EOF(filenum)
Checks for end of file.
filenum The number under which the file was OPENed.
----------------------------------------------------------------------
Notes: If the end of the file has been reached, EOF returns -1
(true); otherwise, it returns 0 (false).
If filenum refers to a random-access file, a -1 means the
last GET statement did not read an entire record.
If filenum refers to a communications file opened in
binary mode, a -1 means the input queue is empty. If
filenum refers to a communications file opened in ASCII
mode, a -1 means a Ctrl-Z has been read.
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson