<quote who='Mats Carlid' date='Friday 04 April 2008'>
>  >>  With file pointers, the trick is to set flags so that you know that
>
> they're open or closed.  <<
>
> Actually there is a way to test if a variable is an open file-handle or
> not  ( at least in uv):
>
> I have the following code in som subroutines that you can feed with a
> open file handle or a file name in FN.
> This may be  universe only - don't know.

Works on Unidata as well.
-- 
Jeff Butera, Ph.D.
Administrative Systems
Hampshire College
[EMAIL PROTECTED]
413-559-5556

Where I'm from, we believe all sorts of
    things that aren't true. We call it "history".
                       The Wizard, Wicked
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to