CAN CSA-ISO IEC 10279-1994 Information Technology - Programming Languages - Full BASIC.pdf
《CAN CSA-ISO IEC 10279-1994 Information Technology - Programming Languages - Full BASIC.pdf》由会员分享,可在线阅读,更多相关《CAN CSA-ISO IEC 10279-1994 Information Technology - Programming Languages - Full BASIC.pdf(17页珍藏版)》请在麦多课文档分享上搜索。
1、I N TE R N AT IO N A L STANDARD ISOIIEC 10279 First edition 1991 -10-15 (Reaff i r med 2004) Information technology - Programming languages - Full BASlC Technologies de /information - Larigages de programmation - Full BASIC National Standard of Canada CAN/CSA-ISO/IEC-lO279-94 International Standard
2、ISO/IEC 10279:1991 has been adopted, without modification, as CAN/CSA-ISO/IEC- 10279 -94, which has been approved as a National Standard of Canada by the Standards Council of Canada. November 1994 Reference number ISOAEC 10279:1991 (E) ISOllEC 10279:1991 (E) Foreword IS0 (the International Organizat
3、ion for Standardization) and IEC (the fnternational Electrotechnical Commission) form the specialized system for worldwide standardization. National bodies that are members of IS0 or IEC participate in the development of International Standards through technical committees established by the respect
4、ive organization to deal with particular fields of technical activity. IS0 and IEC technical com- mittees collaborate in fields of mutual interest. Other international or- ganizations, governmental and non-governmental, in liaison with IS0 and IEC, also take part in the work. In the field of informa
5、tion technology, IS0 and IEC have estabfished a joint technical committee, ISO/iEC JTC 1. DraR International Standards adopted by the joint technicaf committee are circulated to national bod- ies for voting. Publication as an International Standard requires ap- proval by at least 75 % of the nationa
6、l bodies casting a vote. fnternational Standard ISO/IEC 10279 was prepared by Joint Technical Committee ISOAEC JTC 1, Information technology. Annexes A and E3 are for information only. 8 ISO/IEC 1991 All rights reserved. No part of thls publication may be reproduced or utilized in any form or by any
7、 means, electronic or mechanical, including photocopying and microfilm, without permission In writing from the publisher. Printed In Switzerland ISO/IEC Copyright Office Case Postale 56 CH-1211 Geneve 20 Switzerland ii INTERNATIONAL STANDARD ISO/IEC 10279:1991() nformation technology - Programming l
8、anguages - Full 3ASIC 1 Scope This International Standard specifies the programming language Full BASIC and is derived from the American National Standard X3.113-1987. For details of the syntax and semantics see ANSI X3.113-1987 which specifies the syntax of programs written in BASIC, including core
9、 8ASIC and various extensions thereto; the formats of data and the minimum precision and range of numeric representations and the minimum length and set of characters in strings that are acceptable as input to an automatic data processing system being controlled by a program written in BASIC; the fo
10、rmats of data and the minimum precision and range of numeric representations and the minimum length and set of characters in strings that can be generated as output by an automatic data processing system being controlled by a program written in BASIC; the semantic rules for interpreting the meaning
11、of a program written in BASIC; errors and exceptional circumstances to be detected and also the manner in which such errors and excepfional circumstances are to be handled This International Standard also refers to ECMA-116 for the specification of mini-graphics. Note: ECMA-116 is based on ANSI X3.1
12、13-1987. This International Standard specifies its own conformance subsets, which include those specified in ANSI X3.113- 1987 and ECMA-116. This International Standard is designed to promote the interchangeability of BASIC programs among a variety of automatic data processing systems. 2 Normative r
13、eferences The following standards contain provisions which, through reference in this text, constitute provisions of this International Standard. At the time of publication, the editions indicated were valid. All standards are subject to revision, and parties to agreements based on this Internationa
14、l Standard are encouraged to investigate the possibility of applying the most recent editions of the standards indicated below. Members of IEC and of IS0 maintain registers of currently valid International Standards. ANSI X3.113-1987: information systems - programming languages - full BASIC. STANDAR
15、D ECMA-116: 1986, BASIC. I ISOIIEC 10279:1991 (E) 3 Technical content 3.1 Principal technical content Apart from the conformance rules the technical content of this International Standard is defined in part by Sections 3 to 16 of the ANSI X3.113-1987 (which will be referred to a ANS BASIC). The defi
16、nition of resewed wordin ANS BASIC Section 3.2 is for information only with respect to this International Standard. The technical content for the mini-graphics module of this International Standard is defined by Section 13 of ECMA-I 16. 3.2 Additional reserved words For the subset core, insert the f
17、ollowing paragraph after paragraph 6 of Subsection 4.4.2 of ANS BASIC. “The keywords ACCESS, AND, ANGLE, AREA, ARITHMETIC, ASK, AT, BASE, BEGIN, BREAK, CALL, CASE, CHAIN, CLEAR, CLIP, CLOSE, COLLATE, COLOR, DATA, DATUM, DESUG, DECIMAL, DECLARE, DEF, DEGREES, DEVICE, DIM, DISPLAY, DO, ELAPSED, ELSEIF
18、, END, ERASE, ERASABLE, EXIT, EXTERNAL, FILETYPE, FOR, FUNCTION, GO, GOSUB, GOTO, GRAPH, IF, IMAGE, INPUT, INTERNAL, IS, LENGTH, LET, LINE, LINES, LOOP, MARGIN, MAT, MISSING, NAME, NATIVE, NEXT, NUMERIC, OFF, ON, OPEN, OPTION, OR, ORGANIZATION, OUTIN, OUTPUT, POINT, POINTER, POINTS, PROGRAM, PROMPT,
19、 RADIANS, RANDOMIZE, READ, RECSIZE, RECTYPE, REST, RESTORE, RETURN, SAME, SELECT, SEQUENTIAL, SET, SE-TTER, SIZE, SKIP, STANDARD, STATUS, STEP, STOP, STREAM, STRING, STYLE, SUB, TAB, TEXT, THEN, THERE, TIMEOUT, TO, TRACE, UNTIL, USING, VARIABLE, VIEWPORT, WHILE, WINDOW, WITH, WRITE, and ZONEWIDTH sh
20、all not be used as identifiers.“ 4 Conformance There are two aspects of conformance to a set of modules in this International Standard: conformance by a program written in the BASIC language, and conformance by an implementation which processes such programs. The conformance requirements are structu
21、red so that any program conforming to a set of modules will produce the same results when executed by any implementation conforming to the same or an encompassing set of modules (though certain implementation-dependent features are noted in ANS BASIC Appendix C). 4.1 Modules The programming language
22、 defined by this International Standard is organized in a modular fashion. Conformance to this International Standard is defined with respect to particular sets of the following fifteen modules and combinations the reof: A cure module, which encompasses all programs whose syntax conforms to ANS BASI
23、C Sections 4 to 10, parts of ANS BASC Section 11 (excluding internal-format record and native-format record files), and ANS BASIC Section 12. A subsef core module, which encompasses all programs whose syntax conforms to ANS BASIC Sections 4 to 10 (except that a substitute definition of resewed worda
24、pplies - see 3.2), parts of ANS BASIC Section 1 I (excluding enhanced-internat and enhanced-native files), and ANS BASIC Subsection 12.2. (The subset core module is identical to the core module except that the list of reserved words is larger and exception handling is excluded.) An enhanced-internal
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- CANCSAISOIEC102791994INFORMATIONTECHNOLOGYPROGRAMMINGLANGUAGESFULLBASICPDF

链接地址:http://www.mydoc123.com/p-590210.html