Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo Basic - <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).

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

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

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