单项选择题
单击命令按钮时,下列程序代码的执行结果为 ______。
Public Sub Procl(n As Integer,ByVal m As Integer)
n=n Mod 10
m=m/10
End Sub
Private Sub Command1_Click()
Dim x As Integer,y As Integer
x=12:y=34
Call Procl(x,y)
Print x;y
End Sub
A.12 34
B.2 34
C.2 3
D.12 3
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
填空题
把窗体的KeyPreview属性设置为True,并编写如下两个事件过程: Private Sub Form_KeyDown(KeyCode As Integer,Shift As Integer) Print KeyCode; End Sub Private Sub Form_KeyPress(KeyAscii As Integer) Print KeyAscii End Sub 程序运行后,如果按下A键,则在窗体上输出的数值为 【11】 和 【12】 。
点击查看答案&解析
填空题
在3种不同类型的组合框中,只能选择而不能输入数据的组合框是 【10】 。
点击查看答案&解析
相关试题
数据流的类型有 【3】 和事务型。
执行以下程序段,并输入1.23,则程序的...
为了显示一个窗体,所使用的方法为 【13...