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

Home » Public Forums » archive » Re: Pass-By-Reference 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: Pass-By-Reference question. [message #38487 is a reply to message #38486] Thu, 11 March 2004 01:28 Go to previous messageGo to previous message
Timm Weitkamp is currently offline  Timm Weitkamp
Messages: 66
Registered: August 2002
Member
Today at 17:24 +1300, Mark Hadfield wrote:

> [...]
>
> I don't think Craig was suggesting that you are trying to do something
> strange(*) just that IDL's behaviour, as reported by you, is strange.
> Perhaps it's a bug in PLOT?
>
> To rule out the possibility that you have made some basic mistake, can
> you please post some self-contained test code that illustrates the problem.

I think the little example that came with Tim's first posting is
self-contained enough. I ran it with 5.4 and 6.0 and with both versions
got the same result that he reports.

Here's an observation that makes it even stranger: when you change
"whaddup.pro" so that NODATA is explicitly set to 0 (instead of one)
inside the routine, and you then try to override that by calling

IDL> whaddup, nodata=1

The amazing thing is that this way it works (i.e., inherited overrides
explicit keyword).

Timm

--
Timm Weitkamp <http://people.web.psi.ch/weitkamp>
[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
Previous Topic: IDL online help for v6.0 (sigh)
Next Topic: Re: Pass-By-Reference question. (ARG_PRESENT)

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

Current Time: Sun Oct 12 03:37:02 PDT 2025

Total time taken to generate the page: 2.81359 seconds