5月22日
“Private Sub Sub1(X As Integer,Y As Single)”定义了子程序Sub1,调用程序中的变量I、J均为Integer型,则正确调用子程序Sub1的Call语句是____B__。
①Call Sub1(I,I) ②Call Sub1(,I)
③Call Sub1(,234) ④Call Sub1("245","")
A.①③ B.③④ C.①②③
。
,所有没用Close语句关闭的文件都会自动关闭
,可以不用Unlock语句对已锁定的记录解锁
,即使不对它进行写操作,原来内容也被清除
,可以在标准模块或某个窗体模块的通用声明处,分别用___?_B___语句定义一个在所有窗体模块都可以引用的变量IntA。
IntA As Integer Public IntA As Integer
IntA As Integer Private IntA As Integer
IntA As Integer Public IntA As Integer
IntA As Integer Private IntA As Integer
“Private Function Fun(x As Integer,y As Single)”定义了函数Fun。调用函数Fun的过程中的变量I、J均定义为Integer型,能正确引用函数Fun的是__?B_____。
①Fun(I,J) ②Call Fun(I,)
③Fun(,234) ④Fun("245","")
A.①③ B.②③④ C.①②③ D.①②③④
、窗体模块和过程Sub1的说明部分,分别用“Public G As Integer”、“Private G As Integer”和“Dim G As Integer”语句说明了三个同名变量G。如果在过程Sub1中使用赋值语句“G=3596”,则该语句是给在______?B _说明部分定义的变量G赋值。
、窗体模块和过程Sub1
“Public Sub Fun(x As Integer,Y As Single)”定义过程Fun,在窗体Form2中定义了变量i为Integer,J为Single,若要在Form2的某事件过程中调用Form1中的Fun过程,则下列语句中正确的语句有______?B___个。
①Call Fun(i,j) ②Call (i,i)
③(i),j ④ i + 1,(j)
:\,下列打开文件语句中,会产生错误的是___B_____。
VB有关陌生题目 来自淘豆网www.taodocs.com转载请标明出处.