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

Home » Public Forums » archive » Re: IDL doesn't close files.
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: IDL doesn't close files. [message #38985 is a reply to message #38984] Thu, 15 April 2004 20:49 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
"R.G. Stockwell" <noemail@please.com> writes:
>
> Do NOT close then use free_lun.
> If you used a get_lun, then use free_lun.
> i.e.

Bob, I don't by your suggestion. CLOSE closes a file, and FREE_LUN
deallocates a unit number; they are completely separate functions. [
Although it is true that FREE_LUN on an open unit will close it as
well as deallocating it. ] You can definitely use CLOSE and then
FREE_LUN. I do it all the time.

Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@REMOVEcow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Transparent polygons
Next Topic: need to develop interactive plot routine

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

Current Time: Fri Oct 10 23:06:32 PDT 2025

Total time taken to generate the page: 0.87883 seconds