Re: call_procedure with a dynamically created arguments list? [message #50606 is a reply to message #50605] |
Fri, 06 October 2006 15:54   |
Dominic Metzger
Messages: 30 Registered: August 2006
|
Member |
|
|
Basically, all I am doing is:
I automatically parse someones code and replace certain calls (ex:
read_png) with wrapper functions. Inside of these wrapper functions, I
record then timestamp when they were called, with what arguments etc.
Now all this is supposed to happen transparent to the user. Basically,
the user shouldnt even know that this happening or at least it shouldnt
affect him.
dometz
David Fanning wrote:
> Robbie writes:
>
>> A little tip:
>> If you've been using IDL for less than 6 months then I wouldn't
>> recommend going down this line of thought. The only reason you should
>> be doing this is if you are calling procedures from outside IDL. If
>> these wrappers are just being used inside IDL then I'd recommend
>> changing your application design to use OO.
>
> Or, iTools! Those silent error handlers will give you
> something to think about, too. :-)
>
> 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.")
|
|
|