首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
窗体上有一个名称为Commandl的命令按钮,其中部分代码如下: Private Sub Commandl——Click() Dim a(10)As Integer。 Dim n As Integer Call calc(a,n)
窗体上有一个名称为Commandl的命令按钮,其中部分代码如下: Private Sub Commandl——Click() Dim a(10)As Integer。 Dim n As Integer Call calc(a,n)
admin
2012-12-21
28
问题
窗体上有一个名称为Commandl的命令按钮,其中部分代码如下:
Private Sub Commandl——Click()
Dim a(10)As Integer。
Dim n As Integer
Call calc(a,n)
End Sub
calc过程的首行应该是( )。
选项
A、Sub calc(x()As Integer,n As Integer)
B、Public Sub calc(x()As Integer)
C、Private Sub calc(a(n)As Integer,n As Integer)
D、Publk:Sub calc(a As Integer,n As Integer)
答案
A
解析
本题考查过程的声明的格式。
转载请注明原文地址:https://kaotiyun.com/show/pNhp777K
本试题收录于:
二级VB题库NCRE全国计算机二级分类
0
二级VB
NCRE全国计算机二级
相关试题推荐
窗体、图片框或图像框中的图形通过对象的【】属性设置。
在窗体上画一个名称为Command1的命令按钮,然后编写如下程序:DimSWAsBooleanFunctionfunc(XAsInteger)AsIntegerIfX<20The
在窗体上画—个名称为Label1的标签,然后编写如下事件过程:PrivateSubForm_CIick()Dimarr(10,10)AsIntegerDimiAsIntege
执行以下程序段 DimxAsInteger,iAsInteger x=0 Fori=20To1Step-2 x=x+i\5 Nexti后,x的值为
设a=5,b=4,c=3,d=2,下列表达式的值是3>2*bOra=cAndb<>cOrc>d
在窗体上画一个名称为“Command1”、标题为“计算”的命令按钮,再画7个标签,其中5个标签组成名称为Label1的控件数组;名称为Label2的标签用于显示计算结果,其Caption属性的初始值为空;标签Label3的标题为“计算结果”。运行程序时会
下列表达式中,表达式______的运算结果与其他3个不同。
以下关系表达式中,其值为False的是
以下关系表达式中,其值为False的是
随机试题
Becauseofthe______emphasisplacedonclassroomwork,theinstructorwillreportyourabsencestotheadviser.
临床上并非所有年轻患者的重度牙周炎均可诊断为广泛型侵袭性牙周炎,应先排除一些明显的局部和全身因素,如
错觉是指
下列有关我国《缔结条约程序法》的规定,不正确的是:
背景某安装公司承包了光源中心的空调系统的施工,光源中心空调系统的洁净度等级设计为N5级,空调系统还采用BA系统监控,BA系统选用了有特殊要求智能化产品,并且光源中心的洁净室内采用气体灭火系统。光源中心机电工程的空调系统预算费用为600万元,工期6
根据以下资料。回答下列问题。2012年上半年全同消协组织共受理消费者投诉256713件,解决234371件,为消费者挽回经济损失26335万元。其中,因经营者有欺诈行为得到加倍赔偿的投诉3320件,加倍赔偿金额555万元。上半年,各级消协组织支持
已知x1,x2是x2+ax一1=0的两个实根,则x12+x22=().
Theincreaseintheproductionofconsumergoodsresultsindamagetothenaturalenvironment.Whatarethecausesofthisandw
A、Anactress.B、Atechblogger.C、Afashiondesigner.D、Anathlete.A根据原文中对其各项事业的访问,可以判定A选项为正确表述。
Weregret______youyoursonhasbeenkilledinthebattleinIraq.
最新回复
(
0
)