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

Home » Public Forums » archive » Re: deleting compiled module ?
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: deleting compiled module ? [message #1655] Thu, 17 February 1994 05:03
neri is currently offline  neri
Messages: 3
Registered: May 1993
Junior Member
In article <1994Feb17.122814.16482@news.lrz-muenchen.de> doll@cip27.lte.e-technik.tu-muenchen.de (Franz Dollinger) writes:
>
> hi there,
>
> I'm just testing idl and I've got the following problem:
> I genarated a module, started IDL and run that module.
> I modified that module outside IDL, but to recompile and run the modified module I had to stop IDL and start it again.
> [Q]: is there a possibility to delete or unload a compiled module for starting a modified version?
>

Instead of using the '.run' command to compile the module, use the '.rnew'
command. It will overwrite the old module with the new version. If you
are having the original module fail, you may also need to execute a
'return' or 'retall' command to get you out of the original failed
module to be able to re-compile it.

Just as an aside, I find that the ability to incrementally compile
pieces of code in IDL a great idea, and make IDL a good environment for
code development.



--
Jess Neri neri@hobbes.nrl.navy.mil (202) 404-7567 # # ## #
Pulsed Power Physics Branch, Plasma Physics Division ## # # # #
Naval Research Laboratory, Washington DC 20375 # ## ## #
######### Nuts Running Loose ################# # # # # ###
Re: deleting compiled module ? [message #1657 is a reply to message #1655] Thu, 17 February 1994 04:59 Go to previous message
zawodny is currently offline  zawodny
Messages: 121
Registered: August 1992
Senior Member
In article <1994Feb17.122814.16482@news.lrz-muenchen.de> doll@cip27.lte.e-technik.tu-muenchen.de (Franz Dollinger) writes:
>
> hi there,
>
> I'm just testing idl and I've got the following problem:
> I genarated a module, started IDL and run that module.
> I modified that module outside IDL, but to recompile and run the modified module I had to stop IDL and start it again.
> [Q]: is there a possibility to delete or unload a compiled module for starting a modified version?
>
> thanx alot

I usually just use

.run module
.run main_program

to get it to recompile and rerun the main program. If module is a main program
then .rnew should work as well.


Don't Worry. Be Happy!

--
Joseph M. Zawodny (KO4LW) NASA Langley Research Center
Internet: zawodny@arbd0.larc.nasa.gov MS-475, Hampton VA, 23681-0001
Packet: ko4lw@n4hog.va.usa
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Translation problem
Next Topic: xmovie

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

Current Time: Wed Oct 08 18:36:25 PDT 2025

Total time taken to generate the page: 0.00437 seconds