在窗体上画一个通用对话框图,其Name属性为Cont,瑞画一个命令按钮,Name属性为Command1,然后编写如下事件过程: Privute Sub Command1_Click( ) Cont.FileName=" " Cont.Flags=vbOFNFileMustExist Cont.Filter="All Files| * . *" Cont.FilterIndes_3 Cont.DialogTitle="Open File" Cont.Action=1 If Cont.FileName=" " Then MsgBox "No file selected" Else Open Cont.FileName For Input As #1 Do While Not EOF(1) Input #1. b$ Print b$ Loop End If End Sub 以下各选项,对上述事件过程描述错误的是( )。
A: ++i;
B: D--;
C: c++;
D: --f;
A: ++i;
B: D--;
C: c++;
D: --f;
举一反三
- 以下两条指令的结果是:当无符号数AL>BL时转移到标号为CONT的指令。 SUB AL, BL JC CONT
- 窗体上有一个名称为 Command1 的命令按钮。其单击事件过程如下: Private Sub Command1_Click() Open "c:1.txt" For Input As #1 Open "c:2.txt" For Output As #2 Do While Not EOF(1) Line Input #1, str1 Print #2, str1 Loop Close End Sub 以下关于上述程序的叙述中,错误的是 ________ 。
- 窗体上有一个名称为 Command1 的命令按钮。其单击事件过程如下: Private Sub Command1_Click() Open "c:f1.txt" For Input As #1 Open "c:f2.txt" For Output As #2 Do While Not EOF(1) Line Input #1, str1 Print #2, str1 Loop Close End Sub 以下关于上述程序的叙述中,错误的是 ________ 。
- 窗体上有一个名称为Command1的命令按钮,一个名称为List1的列表框。命令按钮的单击事件过程如下: Private Sub Command1_Click() Open "c:f1.txt" For Input As #1 Do While Not EOF(1) Input #1, str1 List1.AddItem str1 Loop Close End Sub 对于上述程序,以下叙述中错误的是________。
- 姿态的运动主要有()。 A: 标准 B: 手动PTP C: 恒定 D: cont运行