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 #38496 is a reply to message #38494] Wed, 10 March 2004 15:34 Go to previous messageGo to previous message
timrobishaw is currently offline  timrobishaw
Messages: 16
Registered: June 2003
Junior Member
"Christopher Lee" <cl@127.0.0.1> wrote in message
> Duplicate keywords give IDL no chance of knowing what to do, hence it
> complains, and it only looks in the _EXTRA struct if it doesn't find what
> it wants elsewhere. If you want an option of overriding the nodata
> keyword, you need to look for it first

I agree that the best thing to do is to pass NODATA in as an explicit
keyword in this case. However, I strongly disagree with your
interpretation that IDL is confused by duplicate keywords in this
scenario: the point is that keywords passed by reference are
advertised to override keywords set inside the module (and this is a
great thing since you can have a default set of keywords that can be
superseded by user input!) In fact, in the example initially
provided, the XRANGE and YRANGE keywords are "duplicated" by passing
them in by reference and, as advertised, the values passed by
reference override the values set in the call to plot. Anyone have
any other ideas?
[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 06:09:01 PDT 2025

Total time taken to generate the page: 1.44006 seconds