Re: Invoking functions by name [message #76634] |
Mon, 20 June 2011 13:22 |
Michael Galloy
Messages: 1114 Registered: April 2006
|
Senior Member |
|
|
On 6/20/11 1:49 PM, Jenkins.97@wright.edu wrote:
> Hello, I was wondering how would I go about invoking a function or
> procedure by it's name (that is given in a string). For instance, on
> XManager there is EVENT_HANDLER='string' keyword - how are they able
> to call my procedure by just passing a string/name of it? Is there a
> look-up table for all of the procedures within a given program?
>
> Thanks for your help.
Check out the CALL_PROCEDURE, CALL_FUNCTION, and CALL_METHOD routines.
Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL, A Guide to Learning IDL: http://modernidl.idldev.com
Research Mathematician
Tech-X Corporation
|
|
|
|