Buy the book!
|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
g77 doesn't support `FORMAT(I<J>)' and the like.
Supporting this requires a significant redesign or replacement
g77 does support
this construct when the expression is constant
(as of version 0.5.22).
PARAMETER (IWIDTH = 12) 10 FORMAT (I<IWIDTH>)
Otherwise, at least for output (
WRITE), Fortran code making use of this feature can
be rewritten to avoid it by constructing the
string in a
CHARACTER variable or array, then
using that variable or array in place of the
statement label to do the original
Many uses of this feature on input can be rewritten this way as well, but not all can. For example, this can be rewritten:
READ 20, I 20 FORMAT (I<J>)
However, this cannot, in general, be rewritten, especially
END= constructs are employed:
READ 30, J, I 30 FORMAT (I<J>)
|webmaster||delorie software privacy|
|Copyright © 2003 by The Free Software Foundation||Updated Jun 2003|