单项选择题
假定有如下的Sub过程: Sub Sub1(x As Single,y As single) t=x x=t/y y=t Mod y End Sub 在窗体上画一个命令按钮,然后编写如下事件过程: Private Sub Command1_click() Dim a As Single Dim b As Single a=5 b=4 Sub1 a,b Print a;b End Sub 程序运行后,单击命令按钮,输出结果为
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
下列代码运行后输出结果是 Defstr B-E Private Sub Command1_Click() B$= 123 C= 456 Print B+C$ End Sub
A.123456
B."123456"
C.123+"456"
D.显示出错信
点击查看答案&解析
单项选择题
下面有—段程序代码,如果从键盘上输入 Computer ,则在文本框内显示的内容是 Private Sub Text1_KeyPress(KeyAscii As Integer) If KeyAscii>=65 And KeyAscii<=122 Then KeyAscii=42 End If End Sub
A.Computer
B.什么都没有
C.* * * * * * * *
D.程序出错
点击查看答案&解析
相关试题
阅读下列程序。 Private Sub Command1...
在窗体上画一个列表框和一个命令按钮,其名...