我在Uni的时候,在Fortran IV,我们以前能写这样的程序 integer his days, her days, total of days我不知道F77中是否明确允许空间,但我记得在Fortran (66)中用变量中的空格编写程序。它在gfortran、Powerstation 4、Silverfrost和一个旧的g77编译器中构建和运行。想必它也会在IVF编译器上工作(因为
在Fortran2003程序中,我希望创建一个派生类型,其中包含一个具有asynchronous属性的可分配数组: type async_array,我会收到以下错误消息:GNU Fortran (GCC) 4.10.0 20140718 (experimental1
Error: Attribute at (1) is not allowed in a TYPE d