标准模块中有如下程序代码:Public x As Integer,Y As IntegerSub vat_pub()x=10:Y=20End Sub在窗
标准模块中有如下程序代码:
Public x As Integer,Y As Integer
Sub vat_pub()
x=10:Y=20
End Sub
在窗体上有1个命令按钮,并有如下事件过程:
Private Sub Commandl—Click()
Dim X As Integer
Call vat_pub
x=x 4-loo
Y=Y+100
Print x;Y
End Sub
运行程序后单击命令按钮,窗体上显示的是
A.100 100
B.100 120
C.110 100
D.110 120