Repeat Specification [ HP FORTRAN 77/iX Reference ] MPE/iX 5.0 Documentation
HP FORTRAN 77/iX Reference
Repeat Specification
The repeat specification is a positive integer written to the left of the
format descriptor it controls. If a scale factor is needed also, it is
written to the left of the repeat specification.
The repeat specification allows one format descriptor to be used for
several list elements. It can also be used for nested format
specifications; thus edit descriptors can be repeated by enclosing them
in parentheses as shown above.
Examples Notes
---------------------------------------------------------------------------------------
(3F10.5) Equivalent to (F10.5,F10.5,F10.5)
(2I3,2(3X,A5)) Equivalent to (I3,I3,3X,A5,3X,A5)
(L2,2(F2.0,2PE4.1),I5) Equivalent to (L2,F2.0,2PE4.1,F2.0,E4.1,I5)
(2P3G10.4) Equivalent to (2PG10.4,G10.4,G10.4)
MPE/iX 5.0 Documentation