F2008 draft



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
.