Detecting End-of-File using READLINE command

Jean-Pierre A. Radley appl at jpr.com
Mon Sep 13 14:57:35 PDT 2004


George Simon propounded (on Mon, Sep 13, 2004 at 04:52:12PM -0400):
| Hmmm
 I don’t have a problem quoting his message.


You're kidding?  You aren't quoting at all, you're repeating between
delimiters.  Not at all the same thing.


| 
| George Simon (IT Department)
| American River Logistics, LTD
| 614 Progress St.
| Elizabeth, NJ  07205
| Phone:(908)354-7746      Fax:(908)354-7491
| mailto:george at worldest.com <mailto:george at wordest.com>
| http://www.americanriverintl.com/
| 
| 
| 
| -----Original Message-----
| From: filepro-list-bounces at lists.celestial.com
| [mailto:filepro-list-bounces at lists.celestial.com]On Behalf Of John Hemmer
| Sent: Monday, September 13, 2004 12:08 PM
| To: filePro mailing list
| Subject: Detecting End-of-File using READLINE command
| 
| 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
| 



| _______________________________________________
| Filepro-list mailing list
| Filepro-list at lists.celestial.com
| http://mailman.celestial.com/mailman/listinfo/filepro-list


-- 
JP


More information about the Filepro-list mailing list