单项选择题
有如下事件过程: Private Sub Commaild1_Click( ) Dim i As Integer For i =1 To 2 DC Next i End Sub Sub DC( ) Dim x As Integer,m As String Static y,n x=x + 1 y=y + 1 m=m&"*":n=n &"#" Print x,y,m,n End Sub 程序运行后,输出的结果是( )。
A. 1 1 * # 1 1 * #
B. 1 1 * # 1 2 * #
C.1 1 * # 1 1 * ##
D. 1 1 * # 1 2 * ##
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
在窗体上画一个通用对话框图,其Name属性为Cont,瑞画一个命令按钮,Name属性为Command1,然后编写如下事件过程:Privute Sub Command1_Click( )Cont.FileName= Cont.Flags=vbOFNFileMustExistCont.Filter= All Files| * . * Cont.FilterIndes_3Cont.DialogTitle= Open File Cont.Action=1If Cont.FileName= ThenMsgBox No file selected ElseOpen Cont.FileName For Input As #1Do While Not EOF(1)Input #1. b$Print b$LoopEnd IfEnd Sub以下各选项,对上述事件过程描述错误的是( )。
A.++i;
B.D--;
C.c++;
D.--f;
点击查看答案&解析
单项选择题
单个用户使用的数据视图的描述称为( )。
A.外模式
B.概念模式
C.内模式
D.存储模式
点击查看答案&解析
相关试题
在窗体上画一个命令按钮,然后编写如下事件...