WRITE (unit, format) output_list
Example:
WRITE (*, 100) i, j, slope
100 FORMAT (1X, 2I10, F10.2)
WRITE (*, '(1X, 2I10, F10.2)') i, j, slope
'Programming > Fortran' 카테고리의 다른 글
REWIND Statement (0) | 2008.11.24 |
---|---|
OPEN Statement (0) | 2008.11.24 |
Formatted READ Statement (0) | 2008.11.24 |
FORMAT Statement (0) | 2008.11.24 |
CLOSE Statement (0) | 2008.11.24 |