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

Home » Public Forums » archive » Re: transfering data files
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: transfering data files [message #16636] Tue, 10 August 1999 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Kenneth Mankoff (mankoff@nagik.cs.colorado.edu) writes:

> Next question: (which i can figure out with a little trial and
> error)... If the files are created (fully) on the Intel laptop, is the
> swap_endian keyword still needed?
> What happens if i have a file transfered from the Sun to the Dell
> (i.e. /swap_endian needed to open it), and i update _only part of the
> file_ with an OPENU command. Will the file now still be in "big endian",
> or will the SUN part of the file be "big" and the updated Intel part of
> the file be "little"?

Yikes! I wouldn't be doing that. :-(

As long as you are opening the files up anyway,
take my advice and write them out using the XDR
format. Then you can completely forget about
byte order and you can update any part or all
of the file as you wish. :-)

Cheers,

David

--
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
Previous Topic: print, long(1.0e10)
Next Topic: Re: Using Color ???

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

Current Time: Fri Oct 10 14:27:48 PDT 2025

Total time taken to generate the page: 2.00217 seconds