Newsgroups: comp.lang.fortran
Path: utzoo!utgpu!news-server.csri.toronto.edu!helios.physics.utoronto.ca!alchemy.chem.utoronto.ca!system
From: system@alchemy.chem.utoronto.ca (System Admin (Mike Peterson))
Subject: Re: character function subprogram
Message-ID: <1991Apr11.162324.9004@alchemy.chem.utoronto.ca>
Organization: University of Toronto Chemistry Department
References: <1991Apr7.200854.25446@math.ufl.edu> <1991Apr7.211058.25661@math.ufl.edu>
Date: Thu, 11 Apr 1991 16:23:24 GMT

In article <1991Apr7.211058.25661@math.ufl.edu> wang@math.ufl.edu writes:
>This would, in my opinion, miss the point of conveniency of function
>subprogram. My question is this: Why can't we call "cursor" directly
>in the PRINT statement under Sun Fortran?

This is mentioned in some FORTRAN manuals as a limitation - you are in
effect trying to use the I/O libraries recursively in the original
program, and some I/O libraries are not re-entrant in this way.
Of course, FORTRAN-77 doesn't have to provide recursion.
-- 
Mike Peterson, System Administrator, U/Toronto Department of Chemistry
E-mail: system@alchemy.chem.utoronto.ca
Tel: (416) 978-7094                  Fax: (416) 978-8775
