| Re: Basic format code question [message #50653 is a reply to message #50651] |
Mon, 16 October 2006 04:20   |
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--
|
|
|
|