Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: c21rag@kocrsv01.delcoelect.com (Roger Grady)
Subject: Re: byte swapping to get data readable on a decstations
Date: 14 Nov 1994 14:19:31 GMT	[thread overview]
Message-ID: <3a7rlj$3dc@kocrsv08.delcoelect.com> (raw)
In-Reply-To: EJH.94Nov10084407@larry.gsfc.nasa.gov


In article <EJH.94Nov10084407@larry.gsfc.nasa.gov>, ejh@larry.gsfc.nasa.gov (Edward Hartnett) writes:
> 
> Howdy all.
> 
> We here distribute some floating point (IEEE) data to various
> users. We generate it on a cray and various workstations, and now we
> have a user who wants to read the data from a fortran program on a
> decstation. He complains that he can't do this because of the order
> that the bytes are stored in. Is there any hope that we can help him
> solve his problem?

I solved a similar problem by reading the data as character, shuffling
the bytes as necessary and ending up with the rearranged bytes in a
character variable Equivalence'd to a real variable.  If you'd like
more specific information, E-mail me and I'll send you some code
fragments or try to answer specific questions.

  Roger Grady   c21rag@kocrsv01.delcoelect.com
  Delco Electronics Corp.   Kokomo, IN
  "All information and opinions are personal unless otherwise stated."


  parent reply	other threads:[~1994-11-14 14:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-11-10 13:44 byte swapping to get data readable on a decstations Edward Hartnett
1994-11-10 16:07 ` Steve Lionel
1994-11-10 16:47 ` Chuck Campbell
1994-11-11  9:31 ` Ken Bell
1994-11-14 21:55   ` Eric Frey
1994-11-11 23:18 ` Ken Bell
1994-11-14 14:19 ` Roger Grady [this message]
1994-11-16  4:06 ` byte swapping to get data readable on a dec John Lovell
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox