ISO-1539-2-2000.pdf
《ISO-1539-2-2000.pdf》由会员分享,可在线阅读,更多相关《ISO-1539-2-2000.pdf(28页珍藏版)》请在三一文库上搜索。
1、Reference number ISO/IEC 1539-2:2000(E) ISO/IEC 2000 INTERNATIONAL STANDARD ISO/IEC 1539-2 Second edition 2000-06-01 Information technology Programming languages Fortran Part 2: Varying length character strings Technologies de linformation Langages de programmation Fortran Partie 2: Chanes de caract
2、res de longueur variable ISO/IEC 1539-2:2000(E) PDF disclaimer This PDF file may contain embedded typefaces. In accordance with Adobes licensing policy, this file may be printed or viewed but shall not be edited unless the typefaces which are embedded are licensed to and installed on the computer pe
3、rforming the editing. In downloading this file, parties accept therein the responsibility of not infringing Adobes licensing policy. The ISO Central Secretariat accepts no liability in this area. Adobe is a trademark of Adobe Systems Incorporated. Details of the software products used to create this
4、 PDF file can be found in the General Info relative to the file; the PDF-creation parameters were optimized for printing. Every care has been taken to ensure that the file is suitable for use by ISO member bodies. In the unlikely event that a problem relating to it is found, please inform the Centra
5、l Secretariat at the address given below. ISO/IEC 2000 All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from either ISO
6、 at the address below or ISOs member body in the country of the requester. ISO copyright office Case postale 56 ? CH-1211 Geneva 20 Tel. + 41 22 749 01 11 Fax + 41 22 734 10 79 E-mail copyrightiso.ch Web www.iso.ch Printed in Switzerland ii ISO/IEC 2000 All rights reserved ISO/IEC 1539-2:2000(E) CON
7、TENTS 1Scope 1 2Normative References 2 3Requirements 3 3.1The Name of the Module 3 3.2The Type 3 3.3Extended Meanings for Intrinsic Operators 3 3.3.1Assignment 3 3.3.2Concatenation 4 3.3.3Comparisons 4 3.4Extended Meanings for Generic Intrinsic Procedures 5 3.4.1ADJUSTL (string) 5 3.4.2ADJUSTR (stri
8、ng) 5 3.4.3CHAR (string , length) 5 3.4.4IACHAR (c) 6 3.4.5ICHAR (c) 6 3.4.6INDEX (string, substring , back) 6 3.4.7LEN (string) 7 3.4.8LEN_TRIM (string) 7 3.4.9LGE (string_a, string_b) 7 3.4.10LGT (string_a, string_b) 7 3.4.11LLE (string_a, string_b) 8 3.4.12LLT (string_a, string_b) 8 3.4.13REPEAT
9、(string, ncopies) 9 3.4.14SCAN (string, set , back) 9 3.4.15TRIM (string) 9 3.4.16VERIFY (string, set , back) 10 3.5Additional Generic Procedure for Type Conversion 10 3.5.1VAR_STR (char) 10 3.6Additional Generic Procedures for Input/Output 11 3.6.1GET (string , maxlen, iostat) or GET (unit, string
10、, maxlen, iostat) or GET (string, set , separator, maxlen, iostat) or GET (unit, string, set , separator, maxlen, iostat)11 3.6.2PUT (string , iostat) or PUT (unit, string , iostat)12 3.6.3PUT_LINE (string , iostat) or PUT_LINE (unit, string , iostat) 12 3.7Additional Generic Procedures for Substrin
11、g Manipulation 12 3.7.1EXTRACT (string , start, finish)13 3.7.2INSERT (string, start, substring) 13 3.7.3REMOVE (string , start, finish) 13 3.7.4REPLACE (string, start, substring) or REPLACE (string, start, finish, substring) or REPLACE (string, target, substring ,every, back) 14 ISO/IEC 2000 All ri
12、ghts reservediii ISO/IEC 1539-2:2000(E) 3.7.5SPLIT (string, word, set , separator, back) 15 Annex A (informative). Module ISO_VARYING_STRING16 Annex B (informative). Two examples 17 B.1 Word count17 B.2 Vocabulary list 18 iv ISO/IEC 2000 All rights reserved ISO/IEC 1539-2:2000(E) ISO/IEC 2000 All ri
13、ghts reservedv Foreword ISO (the International Organization for Standardization) and IEC (the International Electrotechnical Commission) form the specialized system for worldwide standardization. National bodies that are members of ISO or IEC participate in the development of International Standards
14、 through technical committees established by the respective organization to deal with particular fields of technical activity. ISO and IEC technical committees collaborate in fields of mutual interest. Other international organizations, governmental and non-governmental, in liaison with ISO and IEC,
15、 also take part in the work. International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 3. In the field of information technology, ISO and IEC have established a joint technical committee, ISO/IEC JTC 1. Draft International Standards adopted by the joint t
16、echnical committee are circulated to national bodies for voting. Publication as an International Standard requires approval by at least 75 % of the national bodies casting a vote. Attention is drawn to the possibility that some of the elements of this part of ISO/IEC 1539 may be the subject of paten
17、t rights. ISO and IEC shall not be held responsible for identifying any or all such patent rights. International Standard ISO/IEC 1539-2 was prepared by Joint Technical Committee ISO/IEC JTC 1,Information technology, Subcommittee SC 22,Programming languages, their environments and system software in
18、terfaces. This second edition cancels and replaces the first edition (ISO/IEC 1539-2:1994), which has been technically revised. The following summarises the changes made to the facilities provided by this part of ISO/IEC 1539: The assignment, concatenation, and comparison operations are extended to
19、describe elemental semantics. CHAR is extended to describe pure semantics. ADJUSTL, ADJUSTR, EXTRACT, IACHAR, ICHAR, INDEX, INSERT, LEN, LEN_TRIM, LGE, LGT, LLE, LLT, REMOVE, REPEAT, REPLACE, SCAN, SPLIT, TRIM, VAR_STR, and VERIFY are all extended to describe elemental semantics. ISO/IEC 1539 consis
20、ts of the following parts, under the general titleInformation technology Programming languages Fortran: ?Part 1: Base language ?Part 2: Varying length character strings Annexes A and B of this part of ISO/IEC 1539 are for information only. ISO/IEC 1539-2:2000(E) Introduction This part of ISO/IEC 153
21、9 has been prepared by ISO/IEC JTC1/SC22/WG5, the technical working group for the Fortran language. This part of ISO/IEC 1539 is an auxiliary standard to ISO/IEC 1539-1 : 1997, which defines the latest revision of the Fortran language, and is the first part of the multipart Fortran family of standar
22、ds; this part of ISO/IEC 1539 is the second part. The revised language defined by ISO/IEC 1539-1 : 1997 is informally known as Fortran 95. This part of ISO/IEC 1539 defines the interface and semantics for a module that provides facilities for the manipulation of character strings of arbitrary and dy
23、namically variable length. Annex A refers to a possible implementation, in Fortran 95, of a module that conforms to this part of ISO/IEC 1539. It should be noted, however, that this is purely for purposes of demonstrating the feasibility and portability of this standard. The actual code is not inten
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ISO 1539 2000
链接地址:https://www.31doc.com/p-3775575.html