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 #38979 is a reply to message #38977] Fri, 16 April 2004 07:45 Go to previous messageGo to previous message
meinel is currently offline  meinel
Messages: 14
Registered: February 1994
Junior Member
Craig Markwardt <craigmnet@REMOVEcow.physics.wisc.edu> wrote in message news:<on1xmo60qo.fsf@cow.physics.wisc.edu>...
> "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

Yes, I have the same problem. It happens to me when I open and
(supposedly) close a lot of image files during a long session. After a
while, IDL refuses to open any more files, claiming that it has run
out of LUNs. I've tried CLOSE, FREE_LUN, /FORCE, all to no avail. The
only solution I have found is to restart IDL. Any other ideas?

Ed

PS. This happens with 5.6 on a Mac and Sun and also with 6.0 on a Sun.
[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 10:19:47 PDT 2025

Total time taken to generate the page: 1.75737 seconds