[J3] [EXTERNAL] Re: END statement
Vipul Parekh
parekhvs at gmail.com
Wed Dec 7 01:10:03 UTC 2022
On Tue, Dec 6, 2022 at 9:19 AM Clune, Thomas L. (GSFC-6101) via J3 <
j3 at mailman.j3-fortran.org> wrote:
> As a bit of clarification to the “young ones”. If I understand
> correctly, the semi-colon was not introduced until F90, and thus rarely
> seen in fixed-form source. It is understandably easy to make the false
> inference. (As indeed, I might have, had I thought about it before reading
> Malcolm’s message.)
>
> *..*
>
>
>
> Vipul Parekh asks
>
> > does not the standard only support the semi-colon ';' terminator only
> with free-form source
>
>
>
> No. Semi-colon is accepted in any source form. See *6.3.3.4 Fixed form
> statement termination*
>
> which states A statement may alternatively be terminated by a “;”
> character…
>
> ... Malcolm Cohen, NAG Oxford/Tokyo.
>
Thanks Malcolm.
Hi Tom,
I don't know about youth, my 6th grader kid thinks the world before
FaceTime is really, really ancient!
But you're entirely right about "false inference"! I noticed 6.3.2.5 Free
form statement termination mention ';' terminator and presumed it was only
applicable to free form source, that otherwise it will be under the section
above for source form generally in order for it to apply to both fixed-form
and free. My bad.
Vipul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20221206/b08d33a4/attachment.htm>
More information about the J3
mailing list