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 #38490 is a reply to message #38489] Wed, 10 March 2004 20:24 Go to previous messageGo to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
Tim Robishaw wrote:
> Craig Markwardt <craigmnet@REMOVEcow.physics.wisc.edu> wrote
>
>> Mark, are you relying on a documented feature of IDL, or are you just
>> assuming that because it works, it's right? I've never assumed that
>> keyword inheritance works by overriding explicit values. In fact, I
>> would have assumed the exact opposite, namely that the explicit
>> overrides the generic.
>
>
> Craig, the online IDL help document explicitly details this behavior as
> a feature of passing by reference.
>
> IDL> ? _REF_EXTRA
>
>
>>> As to why Tim's example works for XRANGE & YRANGE but not NODATA, I have
>>> no idea. Perhaps you are not really doing what you think you are doing.
>>
>> I agree, the Tim's example is truly strange.
>
>
> Oh, no, the Tim knows what he's doing. ;-> I'm not going to go into
> what brought this up, but as for being strange, I think the example I
> provided is perfectly legit:

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.

(*)Though if you were doing something strange with IDL, you certainly
wouldn't be the first. Ask David. Ask David's wife.

--
Mark Hadfield "Ka puwaha te tai nei, Hoea tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)

***
More included text than new. Yada yada yada. More included text than
new. Yada yada yada. More included text than new. Yada yada yada. More
included text than new. Yada yada yada. More included text than new.
Yada yada yada. More included text than new. Yada yada yada. More
included text than new. Yada yada yada. More included text than new.
Yada yada yada. More included text than new. Yada yada yada. More
included text than new. Yada yada yada. More included text than new.
Yada yada yada. More included text than new. Yada yada yada. More
included text than new. Yada yada yada. More included text than new.
Yada yada yada. More included text than new. Yada yada yada. More
included text than new. Yada yada yada. More included text than new.
Yada yada yada. More included text than new. Yada yada yada. More
included text than new. Yada yada yada. More included text than new.
Yada yada yada. More included text than new. Yada yada yada. More
included text than new. Yada yada yada. More included text than new.
Yada yada yada. More included text than new. Yada yada yada. More
included text than new. Yada yada yada. More included text than new.
Yada yada yada. More included text than new. Yada yada yada. More
included text than new. Yada yada yada. More included text than new.
Yada yada yada. More included text than new. Yada yada yada. More
included text than new. Yada yada yada. More included text than new.
Yada yada yada. More included text than new. Yada yada yada.
[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: Fri Nov 28 10:04:55 PST 2025

Total time taken to generate the page: 0.39797 seconds