问题
单项选择题
编写如下事件过程:
Option Explicit
Private Sub Form_Click( )
Dim Str As String, I As Integer
Open "examp" For Output As 1
For I = 1 To 5
Str = Chr(I + 64)
Print #1, Str;
Next I
Close 1
Open "examp" For Input As 2
Str = Input(10, #2)
Print Str;
Close 2
End Sub
程序运行后,单击窗体,则窗体上显示的内容是________。
A.ABCDE
B.96
C.65
D.abcde
答案
参考答案:A