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

Home » Public Forums » archive » ARRAYS
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: Arrays [message #39954 is a reply to message #2860] Wed, 30 June 2004 08:43 Go to previous messageGo to previous message
rats is currently offline  rats
Messages: 11
Registered: June 2004
Junior Member
David Fanning <davidf@dfanning.com> wrote in message news:<MPG.1b4bb6d9705c81819897bc@news.frii.com>...
> David Fanning writes:
>
>> Well, I don't know why your problems are confined to just
>> the second column, but I agree with Craig that you need
>> to make these values double precision. Note this experiment:
>>
>> IDL> d='3 492515.080 5506165.090 98.320'
>> IDL> a=fltarr(4)
>> IDL> print, a[1]
>> 492515.
>
> Whoops! Forgot that READS in there!
>
> IDL> d='3 492515.080 5506165.090 98.320'
> IDL> a=fltarr(4)
> IDL> reads, d, a
> IDL> print, a[1]
> 492515.
>
> Cheers,
>
> David


Thanks David and Craig ... Now with double precision it is working ...

Rafael
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: 3D overplotting??
Next Topic: Re: 3D overplotting??

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

Current Time: Sat Nov 29 18:20:26 PST 2025

Total time taken to generate the page: 0.00838 seconds