comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Problems reading binary files - pointer at 4096 gives EOF
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Problems reading binary files - pointer at 4096 gives EOF [message #19473 is a reply to message #19470] Wed, 22 March 2000 00:00 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
David Fanning (davidf@dfanning.com) writes:

> This is that same old file pointer bug Wayne Landsman
> alerted us to on at least two occasions now. I have
> *got* to make time to write some more articles for my
> web page. I'm forgetting more IDL these days than I
> have learned. :-(

Whoops! In digging through my old notes on this subject
I see that it was really Peter Mason who first reported
this to us about a year ago. My apologies to Peter,
along with my thanks to both Peter and Wayne for their
(apparently vain) attempt to keep us all up to date.

Cheers,

David

P.S. Just for the record, on Windows machines reading
binary data, the EOF function can cause weird file pointer
errors. The work-around is to add the /BINARY keyword to
the OPENR statement.

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Corel Linux & IDL -- Possible?
Next Topic: Secret to resizing text widgets

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 20:43:20 PDT 2025

Total time taken to generate the page: 0.88128 seconds