| Re: resolve_routine [message #6865 is a reply to message #6832] |
Fri, 23 August 1996 00:00  |
Christian Soeller
Messages: 46 Registered: August 1996
|
Member |
|
|
Klaus Martin Pontoppidan <pontop@astro.ku.dk> writes:
> i.e. a path and filename or only a filename in the IDL path. The
> resolve_routine works fine with the IDL library procedures, but I fail
> to detect the difference between these and my own procedures. The
> documentation claims that it works with user-written procedures, so....
> I would be most grateful if someone could help me with this problem.
I have tried some of my own functions with it. It seems to work fine
when you pass it the name of one of your functions for which the
corresponding file is in the path, e.g.,
a procedure called tvlarge, corresponding file tvlarge.pro is in the path:
IDL> resolve_routine,'tvlarge'
% Compiled module: TVLARGE.
IDL>
but
IDL> resolve_routine,'tvlarge.pro'
% Attempt to call undefined procedure/function: 'TVLARGE.PRO'.
% Execution halted at: $MAIN$
IDL>
That seems to imply that you have to give the name of the procedure, not the
path to the file containing that procedure. Therefore, that file must
be in the path and follow the IDL naming conventions (PROCEDURE_NAME.pro).
Hope this helps
Christian
------------------------------------------------------------ --------
Christian Soeller mailto: csoelle@sghms.ac.uk
St. Georges Hospital Medical School Dept. of Pharmacology
Cranmer Terrace London SW17 0RE
|
|
|
|