填空题

有以下程序:
Private Sub Form_Activate()
For j=1 to 3
x=3
For i=1 to 2
x=x+6
Next
Next
Print x
End Sub
程序运行后,窗体上显示的结果为______。

【参考答案】

O
<上一题 目录 下一题>
热门 试题

填空题
假定在工程文件中有一个标准模块,其中定义了如下记录类型:Type Books Name As String *10 TelNum As String*20 End Type 要求在执行事件过程Command1_Click时,在顺序文件Person.txt中写入一条记录。将以下程序补充完整。 Private Sub Command1_Click() Dim B As Books open C= person.txt For output As#1 B.Name=InputBox( 请输入姓名 ) B.TelNum=InputBox( 请输入电话号码 ) write #1,______ Close #1 End Sub
填空题
在Visual Basic中,将一个窗体加载到内存进行预处理但不显示所使用的语句是______。
相关试题
  • 下列程序段的执行结果为 a=6 For k=...
  • 阅读下面的程序段: For a=1 To 2 ...
  • 在窗体上画一个命令按钮,名称为Command1...
  • 有如下事件过程: Private Sub Form_Ke...
  • 有如下函数过程: Function Fun(By Val...