首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
对窗体编写如下代码: Option Base 1 Private Sub Form_ KeyPress (KeyAscii As Integer) a=Array(237,126,87,48,498) m1=a(1)
对窗体编写如下代码: Option Base 1 Private Sub Form_ KeyPress (KeyAscii As Integer) a=Array(237,126,87,48,498) m1=a(1)
admin
2010-03-30
29
问题
对窗体编写如下代码: Option Base 1 Private Sub Form_ KeyPress (KeyAscii As Integer) a=Array(237,126,87,48,498) m1=a(1) m2=1 If KeyAscii=13 Then For i=2 To 5 If a(i)>m1 Then m1=a(I) m2=i End If Next i End If Print m1 Print m2 End Sub 程序运行后,按回车键,输出结果为______ 。
选项
A、 48 4
B、237 1
C、498 5
D、498 4
答案
4
解析
转载请注明原文地址:https://jikaoti.com/ti/cCq0FFFM
本试题收录于:
二级VB题库NCRE全国计算机二级分类
0
二级VB
NCRE全国计算机二级
相关试题推荐
Java中对共享数据操作的并发控制采用传统的【】。
有如下程序publicclassSun{publicstaticvoidmain(Stringargs[]){inta=2,b=1,c=2;
下述关于数据库系统的叙述中正确的是()。
阅读下面程序段,SelectItem应用程序显示从文本域的组合框中进行选择,请在程序中的画线处添上正确的语句使得程序能够正确运行。…JTextFieldresult=newJTextField();JComboBoxpick=
有如下程序;publicclassMethTest{staticintVarl=100;intVar2=200;publicstaticvoidmain(Stringargs[])
【】是运行Java小应用程序的一个软件单元,对Java小应用程序的访问权限加以限制。
随机试题
某省中药饮片生产企业没有《药品生产许可证》生产毒性中药饮片,其中甲毒性中药饮片没有实行全国统一定点生产,其标签标示功能主治为“清热、平肝、提升免疫力、抗癌”,与批准的该省中药饮片炮制规范注明的功能主治“清热、平肝”不符,该批药品经抽样检验均符合规定。乙毒性
尿嘧啶用下列哪个英文字母表示()
已知求.
Perhapsthegreatestpuzzleofallisnotwhysomepeopleareleft-handed,butratherwhysofeware.(PassageOne)
下列说法正确的是
不属于抗胆碱酯酶药的是
应力固结度是饱和土层在某荷载作用下,某时刻的(),以百分数表示。
根据《破产法》的规定,破产企业债权人会议的职权不包括()。
小组工作是社会工作的基本方法之一,其功能包括()。
设A,B都是三阶矩阵A,A相似于B,且|E-A|=|E-2A|=|E-3A|=0,则|B-1+2E|=________.
最新回复
(
0
)