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

Home » Public Forums » archive » Help reading MAC ASCII in windows
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Help reading MAC ASCII in windows [message #18494] Wed, 05 January 2000 00:00
Peter Brooker is currently offline  Peter Brooker
Messages: 28
Registered: July 1999
Junior Member
I am using IDL on an NT windows machine. I want to read ASCII files that
were created on a MAC. The normal End of Line (EOL) for windows in a
CR/LF. The MAC file only has a single CR.

When IDL tries to read this type of file it gets only the first record.
It ignors the records after the CR. Most likely it is expecting a LF.

Can "readf" be set to recognize the single CR as the EOL and
consequently read the remaining records correctly?

Is there a way to tell readf that the EOL is a single CR?

thanks-Peter Brooker
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Help reading MAC ASCII in windows
Next Topic: Re: idl5.3 create_struct()

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

Current Time: Fri Oct 10 09:26:08 PDT 2025

Total time taken to generate the page: 0.47841 seconds