Re: call_function under Unix [message #8113] |
Sat, 08 February 1997 00:00 |
Phil Williams
Messages: 78 Registered: April 1996
|
Member |
|
|
HSR Sys-Admin wrote:
>
> Hello,
>
> i have troubles with call_function under UNIX...
>
> call_function('my_function',1)
>
> and in IDL_PATH reachable areas i have the file:
>
> my_function.pro
>
> on calling it i receive the error:
>
> no such function/procedure MY_FUNCTION
You have to assign it to a var. i.e.
result = call_function('my_function', 1)
If it's a procedure then use
call_procedure('my_procedure', 1)
> under VMS i havent got this trouble...
> as VMS is not case_sensitive
UNIX is case sensitive....
Hope this helps,
--
/*********************************************************** ********/
Phil Williams, Ph.D.
Research Instructor
Children's Hospital Medical Center "One man gathers what
Imaging Research Center another man spills..."
3333 Burnet Ave. -The Grateful Dead
Cincinnati, OH 45229
email: williams@irc.chmcc.org
URL: http://scuttle.chmcc.org/~williams/
/*********************************************************** ********/
|
|
|