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

Home » Public Forums » archive » Re: crazy 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: crazy question [message #65469 is a reply to message #65378] Tue, 03 March 2009 01:04 Go to previous message
Foldy Lajos is currently offline  Foldy Lajos
Messages: 268
Registered: October 2001
Senior Member
On Mon, 2 Mar 2009, llo wrote:

> There is a way to do that for a ROUTINES or FUNCTIONS that uses
> KEYWORDS ?

You can do that with _EXTRA and CREATE_STRUCT:

; cut here, keytest.pro
pro keytest, key1=key1, key2=key2, _extra=ex
help, key1, key2
end
; cut here

IDL> keytest
% Compiled module: KEYTEST.
KEY1 UNDEFINED = <Undefined>
KEY2 UNDEFINED = <Undefined>
IDL> keytest, _extra=create_struct('key1', 1, 'key2', 2)
KEY1 INT = 1
KEY2 INT = 2
IDL>


regards,
lajos
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: the problem of using CALL_EXTERNAL()
Next Topic: Re: the problem of using CALL_EXTERNAL()

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

Current Time: Fri Oct 10 10:21:21 PDT 2025

Total time taken to generate the page: 1.19712 seconds