《VF程序设计 实习教程与习题集》辽大版 单元实习内容答案.doc

《VF程序设计 实习教程与习题集》辽大版 单元实习内容答案.doc

  1. 1、本文档共31页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 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

您可能关注的文档

文档评论(0)

zhangningclb + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档