Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FUNCky - <b>name:</b> <b>feof() - see if the file pointer is at the end of file</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     feof() - see if the file pointer is at the end of file
  Usage:    <logical> = feof(<handle>)
  Params:   integer <handle> - handle from a previous fopen()
  Returns:  logical .T. if file pointer is at the beginning of the
            file, .F. if it is not

 ---------------------------------- Example ---------------------------------

                 handle = fopen("test.txt")
                 do while .not. feof(handle)
                      ? freadline(handle)
                 enddo


See Also: fbof() ftop() fbot() ferror()

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