This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: PARAMETER use within FORMAT statements (Typos in example?)
On Mon, May 31, 2010 at 01:15:43PM -0700, Peter Willis wrote:
> Hello,
>
> I have a secondary question regarding the example(s)
> provided at that link.
>
> I am wondering if there are typos in the examples.
>
> In the first solution the variable 'F' is allocated
> as CHARACTER(LEN=20). That variable is never used
> by the WRITE statements below. Which is the correct
> variable 'F', 'FMT', or 'FM'?
>
> I am guessing that all those 'F'-words should be
> 'FMT'. ;)
>
Yes. I see about fixing the typos.
--
Steve