Re: resolve_routine and the IDL search path [message #35645 is a reply to message #35639] |
Fri, 27 June 2003 06:56  |
R.Bauer
Messages: 1424 Registered: November 1998
|
Senior Member |
|
|
Rob Dimeo wrote:
> Hi,
>
> I am having (what I believe are) path resolution difficulties. In a
> runtime widget program I wish to have the user type in their own .PRO
> file, save it, and press a button to compile it and run it. In a
> fitting application I am working on I want the user to be able to
> write their own complex fitting functions in IDL syntax that can be
> compiled after the runtime application has been launched. When I run
> this application in the IDLDE there are no problems because the new
> .PRO file can be found and can be compiled with RESOLVE_ROUTINE. I
> can then run the program by using CALL_PROCEDURE. However when I run
> the program as a runtime application from a .SAV file I always get an
> error message stating that states "ATTEMPT TO CALL UNDEFINED
> PROCEDURE/FUNCTION: <.pro filename>".
Dear Rob,
it is not possible to compile during runtime another routine,
if the routine is already compiled and stored you can use this.
Please have a look at the thread IDL Virtual machine information.
There is already explained why EXECUTE does not work the same rules
are given for resolve_routine.
Reimar
--
Reimar Bauer
Institut fuer Stratosphaerische Chemie (ICG-I)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
------------------------------------------------------------ -------
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
============================================================ =======
|
|
|