|
DO nSource=1,SourceNumber(1)
READ(UNIT=10,FMT=*) SourcePositionOfMain(nSource,1),SourcePositionOfMain(nSource,2),SourcePositionOfMain(nSource,3),SourcePositionOfMain(nSource,4),SourcePositionOfMain(nSource,5),SourcePositionOfMain(nSource,6)
END DO
可简写为
DO nSource=1,SourceNumber(1)
READ(UNIT=10,FMT=*) SourcePositionOfMain(nSource,1:6)
END DO
请给出你的 txt 的文件内容。 |
|