vb这段编程为什么显示输入超出文件尾
Dima(1To9)AsStringPrivateSubCommand1_Click()Open"f:\a.txt"ForInputAs#1Fori=1To9Input#...
Dim a(1 To 9) As String
Private Sub Command1_Click()
Open "f:\a.txt" For Input As #1
For i = 1 To 9
Input #1, a(i)
Text1.Text = Text1.Text & a(i) & " "
Next i
End Sub 展开
Private Sub Command1_Click()
Open "f:\a.txt" For Input As #1
For i = 1 To 9
Input #1, a(i)
Text1.Text = Text1.Text & a(i) & " "
Next i
End Sub 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询