[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mixing ASCII and Binary in files



Thanks Liam and Kelly,

Kelly, the method you describe is what I have used before.  I'll try it
again... I must have goofed up something simple (I hope).

Liam, I check those procedures out.  I don't know why I didn't think of it
before... I have used BINread/write before.

Ben

Kelly Dean wrote:

>  I read and write combination ASCII and Binary files all the time in Windows
> NT and Windows 2000. My prefer method is using structures.
>
> Kelly
>
> Ben Tupper wrote:
>
> > Hello,
> >
> > Thank you for all for the very interesting responses regarding my Julian
> > Day number query.
> >
> > I have a question regarding mixing ASCII data (as a header) with binary
> > data (as data following the header).  This is a desirable format for our
> > purposes for a number of reasons.  I have come across such files
> > generated in the DOS environment from Sea-Bird Electronics devices.
> >
> > I am able to read and write such files in MacOS using IDL without
> > difficulty; I am unable to do the same in Windows.
> >
> > From within IDL, is it possible to write such a file so that it is
> > readable across all platforms?  If so, how?
> >
> > Thanks
> >
> > Ben
> >
> > --
> > Ben Tupper
> > Bigelow Laboratory for Ocean Sciences
> > 180 McKown Point Rd.
> > W. Boothbay Harbor, ME 04575
> > btupper@bigelow.org

--
Ben Tupper
Bigelow Laboratory for Ocean Sciences
180 McKown Point Rd.
W. Boothbay Harbor, ME 04575
btupper@bigelow.org