[<<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).

                EOF is valid only for sequential input files and
                communications files.

                A return of -1 from a communications file means the buffer
                is empty.

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson