Re: A few syntax questions
- From: robert.corbett@xxxxxxx
- Date: 23 Feb 2006 23:08:45 -0800
What is the purpose of an optional comma after the
type specifier CHARACTER*(n)?
Like the optional comma in the DO-statement, the optional
comma in the char-length is there because so many people
put one there. I received a request just yesterday from
someone who wanted Sun f95 to allow an optional comma
after the closing parenthesis following the io-control-spec-list
of a READ or WRITE statement.
In the numbered syntax rules, why are END (FUNCTION|
SUBROUTINE|PROGRAM) listed under action-stmt?
Possibly because they cause actions to occur when they are
executed. See Section 2.3.3 of the Fortran 95 standard or
the Fortran 2003 standard.
Does F2003 still require space-insensitive parsing of
free-form source code?
Did Fortran 2003 ever require space-insensitive parsing of
free-form source code?
Bob Corbett
.
- Follow-Ups:
- Re: A few syntax questions
- From: Mr Hrundi V Bakshi
- Re: A few syntax questions
- References:
- A few syntax questions
- From: Joe Krahn
- A few syntax questions
- Prev by Date: Trouble with MPI, populating matrix
- Next by Date: Re: Variable length/precision formats?
- Previous by thread: A few syntax questions
- Next by thread: Re: A few syntax questions
- Index(es):