我最近重拾Fortran,以前学的已经忘得差不多了。 我写了一个f档,内容如下: program hello C this program will ask name and say hello character*25 NAME WRITE(*,*) 'What is your name ?( no more than 25 characters)' READ(*,*) NAME WRITE(*,*) 'Hello!', NAME WRITE(*,*) 'How are you?' end 在putty上以gfortran hello.f执行(执行前我有确认过档案权限), 却得到以下结果: hello.f:1.1: program hello 1 Error: Non'numeric character in statement label at (1) hello.f:1.1: program hello 1 Error: Unclassifiable statement at (1) 类似的错误讯息后面还有好几段,这里就先省略了。 希望有高手能指点我一下,感谢!