- 1、本文档共31页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
《VF程序设计 实习教程与习题集》辽大版 单元实习内容答案.doc
《VF程序设计 实习教程与习题集》辽大版1~13单元实习内容答案
VF programming practice tutorial and problem sets, 1~13 unit internship content answer
2009-05-07 10:55 (| classification: default classification)
Practice tutorial first units Visual FoxPro basic operations (reference answer)
1. use the method of assignment to determine whether the following string is a valid memory variable name:
1) execute the assignment command:
X1=3, or STORE 3, TO, X1
The system does not show any error, and knows that X1 is the legal memory variable name.
Similarly, X_1 is also a valid memory variable name, and the rest is illegal.
2) use the above method to judge:
Variable, variable X, variable 1, variable _1 is legal memory variable name, and the rest is illegal.
2. calculate and display the results of each of the following questions:
1) use function:
Command: mod (987654321123456789)
Display: 9
Utilization operation:
Command: 987654321%, 123456789
Display: 9
2) command: X=5.1249
Min (2^X, X^2)
Display: 26.2646
3) command: C1=AB
C2=SPACE (2)
C3=str (3.14,5,2)
A1=C1+C2+C3
A2=trim (C1+C2-C3)
LEN (A1), LEN (A2)
Display: 97
4) command: C1= SPACE (2)
C2= ABC
C3=SPACE (3)
A1=C1+C2+C3
A2=trim (C1+C2+C3)
A3=ltrim (C1+C2+C3)
A4=alltrim (C1+C2+C3)
Len (A1, A2, A2, A3, A4
Len (A1, A2, A2, A3, A4)
Len (A1), len (A2), len (A3), len (A4)
Display: 8563
5) command: A=Microcomputer
SUBSTR (A, 1,2) +SUBSTR (A, 9,2)
Display: Microcomputer
6) command: date () +10000
Display: 07/11/32 (relating to the date of the day)
7) command: date () -{^1997-7-1}
Display: 2794 (relating to the date of the day)
8)
.T.
II..T.
3. use the following functions through examples:
1) MOD (10, -3) =-2
MOD (-10, 3) =2
MOD (-10, -3) =1
2) ROUND (12345.6789,1) =12345.7
ROUND (12345.6789,0) = 12346
ROUND (12345.6789, -1) =12350
ROUND (12345.6789, -2) =12300
3) the case where the second, third parameters of the function STR are exact: (revised in May 29, 2005)
STR (3.1415926,4,1) = 3.1
STR (3.1415926,4) = 3
STR (3.1415926) = 3
Practice tutorial second unit
您可能关注的文档
- 2016个人工作总结以结2016年打算.doc
- 计算机计算机文化基础》第一次作业答案(The first homework answer of computer and Computer Culture Foundation).doc
- 粤西北霜冻天气的气候统计特征.doc
- 中学英语学科知识点梳理八年级.doc
- 梦兰村标准厂房##楼工程施工组织设计.doc
- 难度梯度——革新版(Gradient of difficulty leather Edition).doc
- vwewt水处理实验技术实验指导书2009.doc
- [doc格式] 学生成绩分析系统设计与实现.doc
- 制胜策略让经销商雄霸区域市场NO.(The winning strategy for the regional market dealers dominated NO.).doc
- 微型轿车:中原逐鹿 强者胜出.doc
- 2024年江西省高考政治试卷真题(含答案逐题解析).pdf
- 2025年四川省新高考八省适应性联考模拟演练(二)物理试卷(含答案详解).pdf
- 2025年四川省新高考八省适应性联考模拟演练(二)地理试卷(含答案详解).pdf
- 2024年内蒙通辽市中考化学试卷(含答案逐题解析).docx
- 2024年四川省攀枝花市中考化学试卷真题(含答案详解).docx
- (一模)长春市2025届高三质量监测(一)化学试卷(含答案).pdf
- 2024年安徽省高考政治试卷(含答案逐题解析).pdf
- (一模)长春市2025届高三质量监测(一)生物试卷(含答案).pdf
- 2024年湖南省高考政治试卷真题(含答案逐题解析).docx
- 2024年安徽省高考政治试卷(含答案逐题解析).docx
文档评论(0)