Re: Q: How to delete 'active' procedure? [message #1282] |
Sun, 15 August 1993 14:39 |
harris
Messages: 3 Registered: August 1993
|
Junior Member |
|
|
I thought you should know about the pv-wave command .rnew if you don't
already. It will erase common and other variables before starting your
program.If you don't use it your programs may have errors when they run
for the first time.
Mitch
--
Mitch Harris | New Technology Inc.
(205)-544-2846 | 700 Boulevard South, #401
drvax3!harris@freedom.msfc.nasa.gov | Huntsville, AL 35802
|
|
|
Re: Q: How to delete 'active' procedure? [message #1290 is a reply to message #1282] |
Wed, 11 August 1993 17:09  |
marc
Messages: 6 Registered: February 1992
|
Junior Member |
|
|
In article <24b4hoINNjd1@rave.larc.nasa.gov>, zawodny@arbd0.larc.nasa.gov (Joseph M Zawodny) writes:
|> In article <CBLM6K.Ap8@news.udel.edu> zagar@chester.cms.udel.edu writes:
|> >I've been getting very frustrated with IDL lately. I keep having to
|> >quit & re-start pv-wave because I can't DELPROC my procedures after they've
|> >been used.
|>
|> pv-wave is NOT IDL !
From EVERYTHING I've seen, I think they only represent two competing
family memebers. What one has one day, the other has the next. But,
I better watch it, or I'll be bombarded with IDL or Wave employed
protectors of "the secret".
|>
|> >I'd like to be able to write a procedure, test it, fix a bug,
|> >and test it again without having to quit & re-start pv-wave.
|> >
|> >Any comments on how that's done ?
|> >
|> >-Randy
|>
|>
|> I usually just .run xxx.pro to kill the old xxx and "compile" the new one.
|>
|>
|> --
|> Joseph M. Zawodny (KO4LW) NASA Langley Research Center
|> Internet: zawodny@arbd0.larc.nasa.gov MS-475, Hampton VA, 23681-0001
|> Packet: ko4lw@wb0tax.va.usa
Well if this is all you do, you might often run into problems, getting
a message about Wave or IDL not being able to compile an active procedure.
The correct way to recompile a bombed procedure, assuming that you don't
want to debug using the data available at crash time, is
retall (returns from all procedures bringing IDL/Wave back to CL level)
.run procname (or .run procname.pro)
if procname.pro is a file in the search path.
------------------------------------------------------------ --------------------
| __________________
oOOOOOO\ \oSSSo/ / \
/oOO OO| _-OSSSSSO-_ | Send money to: |
oOO/ -OSSSSSO- | |
/OOO /oSSSo\ | Marc Day |
/oOOOOO| _O___ | | Institute of Plasma |
oOOOOOOOo / \ | Fusion Research |
/oOOOOOOOOOOo |\ | 44-139 Eng'g IV |
ooOOOOOOOOOOOOOo ___|_|___ | University of CA |
oOOOOOOOOOOOOOOO / OOOooooooo | Los Angeles, CA |
OOOOOOOOOOOOOOOOOOOOOOOOOOOooooooo | 90024-1597 |
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOoooooooooo \___________________/
Surf till you can't,
Eat till you can't,
Sleep till you can't. Excess is the key to life!
------------------------------------------------------------ --------------------
ALL OTHER MATTERS... Internet: day@fusion.ucla.edu
------------------------------------------------------------ --------------------
|
|
|
|
|