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

Home » Public Forums » archive » Re: WHILE NOT EOF(lun) wierdness under IDL 4.0.1 on Win NT
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: WHILE NOT EOF(lun) wierdness under IDL 4.0.1 on Win NT [message #6392 is a reply to message #6387] Tue, 18 June 1996 00:00 Go to previous messageGo to previous message
Joseph M Zawodny is currently offline  Joseph M Zawodny
Messages: 24
Registered: March 1996
Junior Member
Peter Mason wrote:
>
> Since Idl version 4, I found I have to use the /BINARY switch (and
> /NOAUTOMODE, to be safe) on my OPEN calls under Windows, to get things
> to work as expected.
> I first noticed a problem while using READU/WRITEU with structures and
> a binary file opened with /XDR - the reads and writes would sometimes
> (unpredictably) work incorrectly - I sometimes couldn't read back into
> the structure from which I had written (and it contained no strings :).
> Using the above switches sorted it out.
>
> I didn't notice problems like the one you described above (still can't
> understand why the code would work from the command line and not from
> within a routine), but try OPEN,/BINARY,/NOAUTOMODE - it's worth a shot.
>
> Peter Mason

Well this worked for me, but where did you find out about these keywords?
I did not see them in the manual under the OPEN statement, nor in either
the online help or the little "IDL For Windows" booklet. It is hard to
solve a problem when you do not know what tools are at your disposal.

Thanks again,

--
Work: Dr. Joseph M. Zawodny Play: Joe Zawodny
NASA Langley Research Center KO4LW@amsat.org
E-mail: J.M.Zawodny@LaRC.NASA.gov zawodny@exis.net
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Pvwave on Vax Hangs on Network
Next Topic: User defined fonts Q

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

Current Time: Fri Oct 10 22:45:21 PDT 2025

Total time taken to generate the page: 1.44323 seconds