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

Home » Public Forums » archive » Re: On-the-fly compilation of routines
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: On-the-fly compilation of routines [message #63330 is a reply to message #63326] Thu, 06 November 2008 00:57 Go to previous messageGo to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
gsever schrieb:
> Hello,
>
> I would like to know whether it is possible to compile a routine while
> I am already running my main IDL program?

yes


> To illustrate more this, I will explain my intention a bit more. We
> have a powerful IDL-based data analysis tool in our atmospheric
> sciences department to analyze airborne acquired data. I am currently
> working on a spectrum plot routine of the this tool-suite to make
> small modification and learning purposes. I successfully debug the
> routines from within the IDL Workbench, but whenever I make a change
> on the program or wanted to set a new breakpoint I have to restart the
> program and compile all the routines. My question is again, is there a
> way to update my current routine in a way to see the changes are going
> to be reflected without restarting and compiling everything?

yes


>
> Another point is, can we compile only the recently changed routines in
> the beginning of each compilation process?

yes

>
> I appreciate your comments on these issues.
>
> Thank you again.

I have no idea how you organize your routines but there are common rules.

a) use one file per routine
b) name the file name of the file exactly the same as your routine
b.a) use the extension .pro
c) use always lower case file names.
d) make sure your file are saved in the the idl search path, check
!path

e) file a bug report if it does not behave (you already doing so)

if not a) make sure the last routine in the file is the one used for the
file name.

For example just open the ide and call print, mean(findgen(10)).
mean is a idl source function. You can open it by .edit mean on the idl
input line.

cheers
Reimar
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Sinusoidal map projection set up
Next Topic: ONLINE TRADING

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

Current Time: Sat Oct 11 16:19:51 PDT 2025

Total time taken to generate the page: 1.36251 seconds