에러 메시지 문제 발생 코드 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 PROGRAM Unexpected_STATEMENT_FUNCTION IMPLICIT NONE INTEGER :: i DOUBLE PRECISION :: a ! Error line, "a" is NOT array DOUBLE PRECISION, ALLOCATABLE :: b(:) ALLOCATE(b(4)) DO i = 1, 4 a(i) = i ! Error line refered by compiler, "a" is array b(i) = i*10.d0 ENDDO WRITE(*,*) ">> a:", a WRITE(*,*) ">> b:", b END PROGRAM Unexpected_STATEME..