Re: call_procedure with a dynamically created arguments list? [message #50608 is a reply to message #50607] |
Fri, 06 October 2006 15:34   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Carsten Lechte writes:
> I have no way to test this right now, but why not:
>
> function wrap_this, pos_arg1, pos_arg2, pos_arg3, _ref_extra=e
> return, this( pos_arg1, pos_arg2, pos_arg3, _strict_extra=e)
> end
>
> for a function that has three positional parameters?
> That should give you the original error messages from this(...)
> and you do not need to assume anything about which arguments
> are supplied by the caller of wrap_this().
Well, we tried that, but he doesn't like it for some reason.
And, in any case, this sort of begs the question of what
the hell is it you are "wrapping" anyway!? :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|