Detecting End-of-File using READLINE command
John Hemmer
hemmerjohn at hotmail.com
Mon Sep 13 09:08:29 PDT 2004
When using the READLINE command to read sequential records
e.g.
bytes=READLINE(handle,destination,length)
When a line consists of just a newline character, the number of
bytes read and returned in "bytes" may be zero. However, there
could be many records that follow this line.
How can I detect the EOF, End-of-File? Is a negative number
of bytes returned?
None of the Documentation I have, STN Manual, Online FilePro
help, etc, answers these questions.
TIAA
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.celestial.com/pipermail/filepro-list/attachments/20040913/30bfd61c/attachment.html
More information about the Filepro-list
mailing list