求大神,为什么随机存取的文件无法用if进行判断?
Open App.Path & "\data.txt" For Random As #1 Len = Len(per)m = LOF(1) \ Len(per)
For i = 1 To m
Get #1, i, per
If per.name = Text1.Text Then
Text2.Text = per.num
exit for
End If
Next i
Close #1

你成了我用尽一生去纪念的过客。。。。