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

Home » Public Forums » archive » re-initializing program variables
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-initializing program variables [message #13872] Mon, 14 December 1998 00:00
Irene Barg is currently offline  Irene Barg
Messages: 4
Registered: December 1998
Junior Member
Hello,

How do I re-initialize all program variables with a procedure call?
Example, I want to do something like:

pro doit_toit, inlist
openr, ilun, inlist, /GET_LUN
filename = ''
while not eof(ilun) do begin
readf, ilun, filename
.rnew buildref.pro
buildref,filename
endwhile
free_lun, ilun
end

Of course, I can't do ".rnew buildref.pro" inside program mode.
Suggestions?

-- irene

------------------------------------------------------------ -------
Irene Barg Email: ibarg@as.arizona.edu
Steward Observatory Phone: 520-621-2602
University of Arizona FAX: 520-621-1891
Tucson, AZ 85721 http://nickel.as.arizona.edu/~barg
------------------------------------------------------------ -------
[Message index]
 
Read Message
Previous Topic: Leaking memory when spawning
Next Topic: Re: Axis Color in plot_3dbox

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

Current Time: Sat Oct 11 01:57:09 PDT 2025

Total time taken to generate the page: 1.19810 seconds