- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
计算机三级vb上级100题(Computer level three, VB higher level 100 questions)
计算机三级vb上级100题(Computer level three, VB higher level 100 questions)
The fourth chapter is the basic control structure, VB language foundation
Basic control structures: sequential structures, selection structures, and cyclic structures
4.1 sequential structure
Sequential structure: each statement is executed in the order in which it appears
4.1.1 assignment statement
1. format
[LET] = variable = expression
2. function: calculation, conversion and storage
3. what are the instructions?:
(1) the left of the assignment number must be the variable name
(2) the variable type must match the type of the expression
(3) if the data types are related, but not exactly the same, the system automatically converts the type of expression to the type of the variable, and then assigns it
Dim, A, As, Integer, B, as, Integer
Dim C As String
A=12.543:B= 123: C=123+2
Print, A, B, C(4) an unassigned numeric variable whose value is 0
Dim A as Integer
A=A+1
Print A
Zero
(5) the difference between an assignment statement and an equation
An equation represents an equal relationship; an assignment statement represents the action of computation and storage
The following statements are illegal assignment statements:
5=X+1 (left is constant)
A=B=C=5 (signed an even sign)
X+Y=5 (on the left is the expression)
Here are a few commonly used assignment statements:
A=A+1 (the A value plus 1, and then assigned to A)
A=A+X (A value and X, and then assigned to A)
A=A (A sign)
(6) the exchange of two variables (A and B) values
T=A: A=B: B=T
4.1.2 human-computer interaction functions and processes
1.InputBox function
The function: through the string dialog receiving user input from the keyboard
The format:
InputBox (prompt[, title][, defaut][, x][, y])
The parameter
Prompt (hint): string expression, giving the user prompt information
Title (title): string expression, the title of the dialog box
Defaut (default): a string displayed in the text box of the dialog box, which is optional as a users defau
您可能关注的文档
- 国外辐射化工产业特点(Characteristics of overseas radiation chemical industry).doc
- 国家教改试点方案管理公布多途径解决择校、就业问题(National pilot program of education reform announced multi way to solve school choice and employment problems).doc
- 国家心理咨询师二三级考试各类量表知识汇总大全(National psychological counselors two or three levels of examination knowledge of various scales summary).doc
- 国家统一和民族团结(National unity and national unity).doc
- 国家队论文列表(List of national team papers).doc
- 国庆节祝福语大全(中英文版)(National Day blessing language Daquan (Chinese and English Edition)).doc
- 国庆报道(National Day report).doc
- 国旗设计者(Flag Designer).doc
- 国烟-品牌路上的迷途羔羊(The lost sheep on the brand road of national tobacco brand).doc
- 国贸三期(Three phase of China World Trade Center).doc
- 解读销售沟通技巧(Interpretation of sales communication skills).doc
- 解决华硕(asus)笔记本摄像头倒置问题通用解决方法(Solve ASUS (ASUS) notebook camera inversion problem common solution).doc
- 计算机专业学生就业浅析(Analysis of employment of Computer Major Students).doc
- 计算机主机除尘·(Computer mainframe dust removal).doc
- 计算机二级vfp冲刺试题2(Computer two VFP sprint test questions 2).doc
- 计算机二级access2012年真题50套重难点答案(Computer two access2012 years Zhenti 50 sets of heavy and difficult to answer).doc
- 解答鬓角植发多少钱(How much hair sideburns answer).doc
- 计算机二级vf(Computer level two VF).doc
- 计算机基础教学大纲(Computer basic teaching program).doc
- 计算机应用技术人才市场需要调查研究性学习(Computer application technology talent market needs investigation and research study).doc
最近下载
- 【产业图谱】2024年山西省重点产业规划布局全景图谱(附各地区重点产业、产业体系布局、未来产业发展规划等).docx VIP
- 学校物业服务工作目标.docx VIP
- CreoElementsDirect18.1Modeling.PDF VIP
- 学习医疗卫生系统反腐倡廉警示教育案例心得体会及研讨发言.pdf VIP
- 三维机织物织造方法研究——三维多剑杆织机研制及其控制.pdf VIP
- 酒店安全培训app课件.pptx VIP
- 机动车排放定期检验规范培训考核试题(含答案).pdf VIP
- 心脏泵血血液循环.ppt VIP
- 7月党小组召开党纪学习警示教育大会会议记录(三会一课).docx VIP
- 市政巡查培训考试及答案.docx VIP
文档评论(0)