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 #39967 is a reply to message #2860] Tue, 29 June 2004 17:27 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
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
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[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: Sun Oct 12 09:00:56 PDT 2025

Total time taken to generate the page: 1.36009 seconds