F2008 draft
- From: Joe Krahn <_lastname_@xxxxxxxxxxxxx>
- Date: Mon, 17 Jul 2006 12:34:33 -0400
It looks like the draft of F2008 is available at J3:
http://j3-fortran.org/doc/year/06 files 06-007.*
Does anyone here have an idea when the public comment period will be? Are non-member comments accepted before then?
One thing I see is a new block construct that includes a specification section: BLOCK ... END BLOCK. I wonder why not just allow a specification section in the current block constructs? Even so, I have been thinking that some form of "DO ONCE" construct, with EXIT statements would be nice, to handle one type of construct that often still seems a good place for GOTOs.
For example, this:
------------------------------
BLOCK
...
IF (error) EXIT BLOCK
...
IF (error) EXIT BLOCK
...
IF (error) EXIT BLOCK
...
RETURN
END BLOCK
.... error handling ...
RETURN
------------------------------
Instead of:
------------------------------
....
IF (error) GOTO 999
....
IF (error) GOTO 999
....
IF (error) GOTO 999
....
RETURN
999 CONTINUE
.... error handling ...
RETURN
------------------------------
For now, you can use: DO ... EXIT; END DO
.
- Follow-Ups:
- Re: F2008 draft
- From: James Giles
- Re: F2008 draft
- From: Richard Maine
- Re: F2008 draft
- From: *** Hendrickson
- Re: F2008 draft
- Prev by Date: Re: double confusion
- Next by Date: Re: double confusion
- Previous by thread: double confusion
- Next by thread: Re: F2008 draft
- Index(es):