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

Home » Public Forums » archive » Re: Ascertaining Keyword Parameters
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
Re: Ascertaining Keyword Parameters [message #30206] Wed, 10 April 2002 14:37
Mark Hadfield is currently offline  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)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: map_grid limitations
Next Topic: ROUTINE_INFO problems

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

Current Time: Wed Oct 08 14:59:25 PDT 2025

Total time taken to generate the page: 0.00190 seconds