问题描述
Dim TextLine As String
FileOpen(1,TESTFILE,OpenMode.Input)
Do While Not EOF(1)
TextLine = LineInput(1)
MsgBox(文件结尾和TextLine)
循环
FileClose(1)
Dim TextLine As String
FileOpen(4,TESTFILE,OpenMode.Input)
不做EOF时(4)
TextLine = LineInput(4)
MsgBox(文件结尾和TextLine)
循环
FileClose(4)
两种情况之间的差异
pl EOF(4)4是什么?
Dim TextLine As String
FileOpen(1, "TESTFILE", OpenMode.Input)
Do While Not EOF(1)
TextLine = LineInput(1)
MsgBox("End of file reached at " & TextLine)
Loop
FileClose(1)
Dim TextLine As String
FileOpen(4, "TESTFILE", OpenMode.Input)
Do While Not EOF(4)
TextLine = LineInput(4)
MsgBox("End of file reached at " & TextLine)
Loop
FileClose(4)
difference between two conditions
pl EOF(4) what is the 4 ?
这篇关于请参阅VB.Net中的EOF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!