标题: 求助Statement function statement cannot occur here [打印本页] 作者: 顺利就好 时间: 2023-9-4 21:05 标题: 求助Statement function statement cannot occur here 各位大佬,求助一下请问报错是什么原因?
程序如下:
DO I=1,27
rZoneheight(I)=ceiling(I,9)*dz
Haverage(I)=rZoneheight(I/9)/2
END DO
报错结果如下:
E:\noncover-num(4).f90(141):error FOR2588: Statement function statement cannot occur here
E:\noncover-num(4).f90(142):error FOR2588: Statement function statement cannot occur here