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

Home » Public Forums » archive » point_lun
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: point_lun [message #19124 is a reply to message #19032] Wed, 23 February 2000 00:00 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
"R.Bauer" <R.Bauer@fz-juelich.de> writes:
>
> I have recognized today point_lun makes differences between files
> written on UNIX or DOS
> for following idl version.

This almost certainly has something to do with the difference between
end-of-line conventions in Unix and Windows worlds. I believe that
windows/DOS uses a CR/LF while Unix simply uses an LF.

I don't understand *exactly* what is going wrong though, but it seems
that Windows may be assuming that a CR/LF pair are present in your
Unix file when only one of them is there. What's wierd is that it's
using that information in the POINT_LUN call. This may not be a bug
in IDL but rather in the Windows library that IDL uses. The Microsoft
people probably don't even consider it a bug but a feature...

There are converters that can do the Unix<->DOS conversion for you,
but unfortunately it's an extra ugly step.

Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: passing functions as arguments in IDL?
Next Topic: xmanager does not block

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

Current Time: Fri Oct 10 13:27:32 PDT 2025

Total time taken to generate the page: 1.20110 seconds