Home »
Public Forums »
archive »
Re: Ascertaining Keyword Parameters
Re: Ascertaining Keyword Parameters [message #30206] |
Wed, 10 April 2002 14:37 |
Mark Hadfield
Messages: 783 Registered: May 1995
|
Senior Member |
|
|
"Ted Cary" <tedcary@yahoo.com> wrote in message
news:3CB4A5A8.165F368D@yahoo.com...
>
> Is there any way to ask an IDL function or procedure what keyword
> parameters it accepts? I'd like a function that takes the string
> name of an IDL procedure and returns a string array containing the
> names of all accepted keyword parameters...
Try the ROUTINE_INFO function with keyword PARAMETERS set and examine
the KW_ARGS tag in the structure it returns. (I found this in the docs
& I haven't tried it myself.)
Just out of curiosity, whay do you want to do this?
--
Mark Hadfield
m.hadfield@niwa.co.nz Ka puwaha et tai nei
http://katipo.niwa.co.nz/~hadfield Hoea tatou
National Institute for Water and Atmospheric Research (NIWA)
|
|
|
Current Time: Wed Oct 08 13:05:00 PDT 2025
Total time taken to generate the page: 0.00464 seconds