convert character data into numeric data and vice versa using internal file

CHARACTER(len = 5) :: input = '135.4'

REAL :: value

READ(input, *) value ! internal READ statement

! input에서 값을 읽어 value에 저장. 저정할 때 data type에 알맞게 저장

'Programming > Fortran' 카테고리의 다른 글

저장값의 범위 2  (0) 2008.12.18
Internal WRITE Statement  (0) 2008.12.18
Intrinsic Character Functions  (0) 2008.12.16
Lexical Functions  (0) 2008.12.16
Gauss-Jordan Elimination  (0) 2008.12.16

+ Recent posts