FW: Detecting End-of-File using READLINE command

John Esak john at valar.com
Mon Sep 13 17:19:36 PDT 2004


George,

You just made my point SO clearly... Not only did you NOT quote his
message... not even close... all you did was indent it... but, you then
through this giant image as well into the mix.

Believe me, you are not going to make any friend on this list that way...
also, most people will not even bother sending you a response.  Why is it so
hard to understand that most people on this list prefer to see messages in
plain text and accommodate them?  The mechinism exists in Outlook to mark a
particular recipient as one that gets "plain text" only. So, it certainly
wouldn't be hard to do.

Anyway, just will keep top-posting to messages that can NOT be quoted...

Sorry, but at least I'm not so ademant about plain text that I won't even
resond. You can keep using it... but you certainly will be pissing everyone
off on this list... and too be honest, I would have to agree that they (the
big "they" out there) have asked several, maybe 20 or 30 times that people
only use plain text here.

John

P.S. - I have converted your response below to show you exactly what is
meant by plain text... Compare it with your offering... :-)


-----Original Message-----
From: filepro-list-bounces at lists.celestial.com
[mailto:filepro-list-bounces at lists.celestial.com]On Behalf Of George Simon
Sent: Monday, September 13, 2004 4:52 PM
To: John Hemmer; filePro mailing list
Subject: RE: Detecting End-of-File using READLINE command


Hmmm
 I don’t have a problem quoting his message.

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
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




More information about the Filepro-list mailing list