label-do can't end on a continue statement?
- From: Joe Krahn <jkrahn@xxxxxxxxx>
- Date: Sat, 25 Feb 2006 17:59:25 GMT
Having read through the F2003 stuff, here's one more syntax question. Although a non-label DO is the right way now days, I was surprised to see the rule that the labeled do-termination statement for a label-do is NOT allowed to be a continue. I thought the 'nice' way was to always use a labeled continue statement so that (at least for people not experienced in Fortran) one does not need to know if the labeled statement is inside or outside of the DO loop.
Even more strange, the exclusion of ending on a CONTINUE statement does not apply to shared do-terminators for nested DO loops.
Is this just more historical nonsense? (Or, maybe people were nodding off from boredom of endless trivial details when this was written.)
Joe
.
- Follow-Ups:
- Re: label-do can't end on a continue statement?
- From: Ken Plotkin
- Re: label-do can't end on a continue statement?
- From: *** Hendrickson
- Re: label-do can't end on a continue statement?
- Prev by Date: Re: Variable length/precision formats?
- Next by Date: Converting fixed-to-free format
- Previous by thread: the problem when I make: Installation of lapack in my computer(Linux with Fedroa core 4)
- Next by thread: Re: label-do can't end on a continue statement?
- Index(es):