Dim a(10) As Integer
Dim b(10) As Integer
Dim c(10) As Integer
Private Sub Command1_Click()
Open App.Path & "\dataA.txt" For Input As #1
Open App.Path & "\dataB.txt" For Input As #2
For i = 0 To 9
Input #1, a(i)
Input #2, b(i)
Next
Close #1, #2
End Sub
'Private Sub find( x() As Integer, t As ? )
'==================以下为考生编写的程序======================
??(1)??
'==================考生编写的程序结束========================
End Sub
Private Sub Command2_Click()
'==================以下为考生编写的程序======================
??(2)??
'==================考生编写的程序结束========================
Open App.Path & "\out51.txt" For Output As #1
For i = 0 To 9
Print #1, c(i)
Next
Close #1
End Sub
Private Sub Command3_Click()
Call find(a, Text1)
Call find(c, Text2)
Open App.Path & "\out52.txt" For Output As #1
Print #1, Text1.Text, Text2.Text
Close #1
End Sub