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

Home » Public Forums » archive » Re: Active FIDs?
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: Active FIDs? [message #66306] Sun, 03 May 2009 19:42 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Jonathan Greenberg writes:

> I'm getting the following error in some code I've written: CLOSE: File
> unit is not within allowed range: 133. I'm guessing I'm forgetting a
> FREE_LUN someplace, but is there a programmatic way to check to see
> what FIDs (acquired initially via openr,..,/GET_LUN) are currently
> "open"?

If you are opening the file with GET_LUN, either as
a keyword or as the procedure, there is no need to use
CLOSE. FREE_LUN will both close the logical unit number
and free it up to be used over again.

Help, /FILES will tell you which files you currently have
open and attached to a logical unit number.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Previous Topic: Active FIDs?
Next Topic: Spherical Surface Plot w/ fsc_surface from David Fanning (:

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

Current Time: Wed Oct 08 19:50:57 PDT 2025

Total time taken to generate the page: 0.00536 seconds