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

Home » Public Forums » archive » Re: Basic format code question
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: Basic format code question [message #50653 is a reply to message #50651] Mon, 16 October 2006 04:20 Go to previous messageGo to previous message
greg michael is currently offline  greg michael
Messages: 163
Registered: January 2006
Senior Member
But isn't the point of using an ascii file to make it human-readable?
And editable? If not, you might as well just write the actual byte
representation.

Allowing numbers to run into one another in the special case of 13-char
negative floats isn't so attractive to me. What if I write "3-4-5"?
Should that make sense?

regards,
Greg

FÖLDY Lajos wrote:
> I don't think so. There is no space between the fields, the space you see
> is padding space inside the fields. For floats, the width of the field is
> 13, which results in no padding space in this case. My Fortran instinct
> says that no extra space is required, and I think IDL mimics Fortran here.
>
> regards,
> lajos
>
>
> On Mon, 16 Oct 2006, greg michael wrote:
>
>>
>> That's good that FL can do that, but correctly, they should both write
>> the numbers with an extra space...
>>
>> Greg
>>
>>
>> FÖLDY Lajos wrote:
>>>
>>> OK, I have discovered, that FL does the same :-). So it cames from the
>>> underlying system C library.
>>>
>>> On the other hand, FL can read back the following line, it can recognize,
>>> that the '-' sign is the beginning of the next number:
>>>
>>> 11.0335 11.0503 11.0615-1.60416e+006 1.05404e+007
>>>
>>> I think IDL should do the same.
>>>
>>> regards,
>>> lajos
>>
>>
> --110414000-150196392-1160993797=:20334--
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Differentiation in IDL
Next Topic: Altered device coordinates after first call

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

Current Time: Sat Nov 29 01:58:31 PST 2025

Total time taken to generate the page: 1.60077 seconds