单项选择题
Command1_Click()事件代码如下: Private Sub Command1_Click() Dim x As Integer, Y As Integer x = 6 : Y : 8 Call ABC(X, Y) Print X; Y End Sub Private Sub ABC(ByVal X As Integer,Y As Integer) X = X + 4 Y = Y = 2 End Sub 事件发生后,X和Y的值分别为 ______。
A.6, 8
B.10, 10
C.10, 8
D.6, 10
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
执行下面这段程序后,单击命令按钮,窗体中输出结果是 ______。 Private Sub Command1_Click() a=1 : b=4 : c = 9 : d = 5 If a < b Then If c<d Then x=True Else If a<c Then x=False Else x=True End If End If End If Print Val(x) End Sub
A.True
B.False
C.0
D.1
点击查看答案&解析
单项选择题
有如下程序,运行时从键盘输入3,输出结果是 ______。 Private Sub Command1_Click() a=InputBox( 请输入一个数字: ) Select Case a Case Is>2 b=a+1 Case Is>3 b=a+2 Case Is>4 b=a+3 Case Is>5 b=a+4 End Select Print a + b End Sub
A.
8
B.
7
C.
6 9
点击查看答案&解析
相关试题
在窗体上画一个命令按钮,然后编写如下程序...
窗体上有一个列表框,编写下列程序: Priv...
对于如下程序,单击Co皿andl事件发生后,窗...