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

Home » Public Forums » archive » Re: _extra and call_method
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: _extra and call_method [message #42368 is a reply to message #42343] Thu, 27 January 2005 17:00 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Benjamin Hornberger writes:

> can't keyword passing by _extra be used with call_method? I am getting
> an error message "Keyword parameters not allowed in call" if I try to do
> so.
>
> I want to write a wrapper routine which first checks if an object is
> valid, and if yes, calls methods on it. For positional parameters, I
> have to use "case n_params() of", which is not very nice, but for
> keywords at least I would like to use inheritance...

Are you *sure* you are doing this correctly? I've never
had the least bit of trouble with it. It sounds to me
like the method you are calling does not have the particular
keyword you are using defined for it. Is this a spelling
problem, perhaps?

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Aggregating an array
Next Topic: Color behavior when using TEXTURE MAP

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

Current Time: Sat Nov 29 14:16:36 PST 2025

Total time taken to generate the page: 0.01878 seconds