Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- QuickBASIC 3.0 - <b>eof end of file status</b> http://www.X-Hacker.org [<<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.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson