Tim,
On 2004 Jun 17 , at 04.48, Tim Jenness wrote:
> - Does anyone know how to calculate the maximum fortran I/O
> unit number? [this is hard-wired by system at the moment]
No standard way that I know of. I suppose one could devise a
binary-search method which kept trying to open unit numbers. It'd
probably be fun (hmm) to write as an autoconf macro. However it'd
probably be better done as a Fortran function.
Norman
--
----------------------------------------------------------------------
Norman Gray / Physics and Astronomy, University of Glasgow, UK
http://www.astro.gla.ac.uk/users/norman/
|