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

Home » Public Forums » archive » manipulate ouput keywords
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
manipulate ouput keywords [message #79565] Tue, 13 March 2012 07:05
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
Hello guys,

I am developing a library and I am completely lost in something that I don't know if it's possible to do.
My problem is related to the output keywords that some routines can have. What I am trying to do is to collect those keywords using the extra or ref_extra keyword and return the correct output value to the caller.

I don't know if this is clear but see the example below:

IDL> TEST, OUT1=out1, OUT2=out2

PRO TEST, _REF_EXTRA=extra

;; My routine should be able to return the values for out1 and out2
;; without knowing the keyword names, is that possible ?

END

I tried with something like extra={OUT1: 1, OUT2: 2} but the caller does not receive the information properly.

Please, any help will be appreciated,
nata
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: How to buy a full IDL version?
Next Topic: Re: How to buy a full IDL version?

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

Current Time: Wed Oct 08 18:52:13 PDT 2025

Total time taken to generate the page: 0.00410 seconds