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

Home » Public Forums » archive » Re: Help reading MAC ASCII in windows
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: Help reading MAC ASCII in windows [message #18493] Wed, 05 January 2000 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Peter Brooker (ra5589@email.sps.mot.com) writes:

> 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?

This is not the sort of thing that is usually handled by
IDL. It is normally handled by the proper configuration
of your FTP or file transfer application. All the ones
I know about pretty much do this translation automatically.

You aren't just putting a Mac disk in your PC and hoping
it will work, are you? :-)

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
Previous Topic: widget positioning
Next Topic: Help reading MAC ASCII in windows

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

Current Time: Sat Oct 11 03:47:36 PDT 2025

Total time taken to generate the page: 0.28092 seconds