我写了一个带有IF循环的f90档,在编译时出现了以下错误讯息,希望有人能帮我解惑:
INTEGER HG
1
Error: Unexpected data declaration at (1)
IF HG>0
1
Error: Unclassifiable statement at (1)
ELSE
1
Error: Unexpected ELSE statement at (1)
END IF
1
Error: Expecting END PROGRAM statement at (1)
DO p=1,5
1
Warning:Deleted feature: Loop variable at (1) must be integer