在Fortran read语句中,"end"是什么意思? [英] What does `end` mean in a Fortran read statement?
本文介绍了在Fortran read语句中,"end"是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
此代码段中的end=
是什么意思?
What does the end=
in this code snippet mean?
read(portNum, 100, end =900) readline
P.S.我已经尝试过Google在没有运气的情况下找到它.
P.S. I already tried Google to find this, without luck.
推荐答案
@ user3600286:
@user3600286:
直接引自此pdf :
END = 900指示程序在所有记录已被读取的情况下转到标题900
END=900 instructs the program to go to heading 900 in the event all records have been read
最后的"readline"似乎是一个字符串变量(将在程序的前面定义),用于临时保存从文件中读取的每一行.
The 'readline' at the end appears to be a string variable (would have been defined earlier in the program) that temporarily holds each line read in from the file.
这篇关于在Fortran read语句中,"end"是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文