comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: resolve_routine and the IDL search path
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: resolve_routine and the IDL search path [message #35637] Fri, 27 June 2003 12:48
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Rob Dimeo wrote:

> Reimar Bauer <R.Bauer@fz-juelich.de> wrote in message
> news:<bdhiej$fpsp$1@zam602.zam.kfa-juelich.de>...
>> Rob Dimeo wrote:
>> Dear Rob,
>>
>> it is not possible to compile during runtime another routine,
>> if the routine is already compiled and stored you can use this.
>>
>> Reimar
>>
>
> Thanks Reimar,
>
> Ignore my previous posting concerning the LAMP package at the ILL. I
> jumped the gun. It turns out the compilation feature I sought is
> disabled for their embedded license runtime distribution. If you are
> running the program from the IDLDE then you have the compilation
> option.
>
> Regards,
>
> Rob

Dear Rob,

what's the difference between runtime and embedded?

Reimar



--
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg-i/
============================================================ ======
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
Re: resolve_routine and the IDL search path [message #35638 is a reply to message #35637] Fri, 27 June 2003 11:56 Go to previous message
robert.dimeo is currently offline  robert.dimeo
Messages: 42
Registered: November 2001
Member
Reimar Bauer <R.Bauer@fz-juelich.de> wrote in message news:<bdhiej$fpsp$1@zam602.zam.kfa-juelich.de>...
> Rob Dimeo wrote:
> Dear Rob,
>
> it is not possible to compile during runtime another routine,
> if the routine is already compiled and stored you can use this.
>
> Reimar
>

Thanks Reimar,

Ignore my previous posting concerning the LAMP package at the ILL. I
jumped the gun. It turns out the compilation feature I sought is
disabled for their embedded license runtime distribution. If you are
running the program from the IDLDE then you have the compilation
option.

Regards,

Rob
Re: resolve_routine and the IDL search path [message #35639 is a reply to message #35638] Fri, 27 June 2003 10:18 Go to previous message
robert.dimeo is currently offline  robert.dimeo
Messages: 42
Registered: November 2001
Member
Reimar Bauer <R.Bauer@fz-juelich.de> wrote in message news:<bdhiej$fpsp$1@zam602.zam.kfa-juelich.de>...
>
> 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
>
>
Dear Reimar,

Thanks for the message and explanation. However I am a bit confused
by this inability. I am trying to get this functionality into our
distribution that has an embedded IDL license so I am surprised that
this shouldn't work. Moreover there is a package called LAMP (written
in IDL) at the ILL (Institut-Laue Langevin) that has exactly this
capability. See http://www.ill.fr/data_treat/lamp/front.html. I have
tried looking through the source code for the relevant bits but have
had little success (the source code is somewhat daunting).

Thanks,

Rob
Re: resolve_routine and the IDL search path [message #35645 is a reply to message #35639] Fri, 27 June 2003 06:56 Go to previous message
R.Bauer is currently offline  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
============================================================ =======
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL 5.0.3 freeze during file I/O
Next Topic: read/writing tiff files

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 15:21:17 PDT 2025

Total time taken to generate the page: 0.15994 seconds