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

Home » Public Forums » archive » number problem
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: number problem [message #61256 is a reply to message #61198] Thu, 10 July 2008 07:50 Go to previous messageGo to previous message
Spon is currently offline  Spon
Messages: 178
Registered: September 2007
Senior Member
On Jul 10, 3:22 pm, David Fanning <n...@dfanning.com> wrote:
> Paul van Delst writes:
>> Think about what this line is doing:
>>> a=0&b=0&c=0&d=0&e=0&f=0
>
>> ...and how you subsequently use the variables.
>
> This is why I love this newsgroup. I couldn't possibly
> be this gentle this morning. :-)
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

I think this:
dist=(dblarr(10000))
dist(count)=f

could potentially cause major headaches as there's an in-built IDL
function called DIST. I don't know how rigorous IDL is about checking
if something's a local variable before assuming it's a function -
you'd probably get away with it - but it's not something I'd like to
risk...

In general, this looks like another case for Read_ASCII and
ASCII_Template, to be honest. This is another wheel that doesn't need
reinventing, IMHO :-)

Regards
[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
Read Message
Read Message
Previous Topic: x*x versus x^2
Next Topic: Re: Compare two variables

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

Current Time: Thu Oct 09 02:46:17 PDT 2025

Total time taken to generate the page: 0.48421 seconds