Page images
PDF
EPUB

U.S. DEPT. OF COMM.

NBS-114A (REV. 2-8C)
1. PUBLICATION OR

2. Performing Organ. Report No. 3. Publication Date
REPORT NO.
BIBLIOGRAPHIC DATA

November 1980 SHEET (See in structions)

NBS SP 500-70/1 4. TITLE AND SUBTITLE

Computer Science and Technology NBS Minimal BASIC Test Programs Version 2 User's Manual, Volume 1 Documentation

[ocr errors]

5. AUTHOR(S)

John V. Cugini, Joan S. Bowden, Mark W. Skall

6. PERFORMING ORGANIZATION (If joint or other than NBS, see instructions)

1. Contracu Grant No.

NATIONAL BUREAU OF STANDARDS
DEPARTMENT OF COMMERCE
WASHINGTON, D.C. 20234

8. Type of Report & Period Covered

Final

9. SPONSORING ORGANIZATION NAME AND COMPLETE ADDRESS (Street, City, State, ZIP)

Same as item 6.

10. SUPPLEMENTARY NOTES

Library of Congress Catalog Card Number: 80-600163

[] Document describes a computer program; SF-185, FIPS Software Summary, is attached. 11. ABSTRACT (A 200-word or less factual summary of most significant information. If document includes a significant

bibliography or literature survey, mention it here)

This publication describes the set of programs developed by NBS for the purpose of testing conformance of implementations of the computer language BASIC to the American National Standard for Minimal BASIC, ANSI 83.60-1978. The Department of Commerce has adopted this ANSI standard as Federal Information Processing Standard 68. By submitting the programs to a candidate implementation, the user can test the various features which an implementation must support in order to conform to the standard. While some programs can determine whether or not a given feature is correctly implemented, others produce output which the user must then interpret to some degree. This manual describes how the programs should be used so as to interpret correctly the results of the tests. Such interpretation depends strongly on a solid understanding of the conformance rules laid down in the standard, and there is a brief discussion of these rules and how they relate to the test programs and to the various ways in which the language may be implemented.

12. KEY WORDS (Six to ewelve entries; alphabetical order; capitalize only proper names; and separate key words by semicolons)

Basic; language processor testing; minimal basic; programming language standards; software standards; software testing

13. AVAILABILITY

14. NO. OF

PRINTED PAGES

79

x Unlimited

For Official Distribution. Do Not Release to NTIS x Order From Superintendent of Documents, U.S. Government Printing Office, Washington, DC

20 402.

15. Price

Order From National Technical Information Service (NTIS), Springfield, VA. 22161

$4.00

MU.S. GOVERNMENT PRINTING OFFICE :

USCOMM-DC 6043-28

1980-331 021/6715

NBS TECHNICAL PUBLICATIONS

PERIODICALS JOURNAL OF RESEARCH-The Journal of Research of the National Bureau of Standards reports NBS research and development in those disciplines of the physical and engineering sciences in which the Bureau is active. These include physics, chemistry, engineering, mathematics, and computer sciences. Papers cover a broad range of subjects, with major emphasis on measurement methodology and the basic technology underlying standardization. Also included from time to time are survey articles on topics closely related to the Bureau's technical and scientific programs. As a special service to subscribers each issue contains complete citations to all recent Bureau publications in both NBS and nonNBS media. Issued six times a year. Annual subscription: domestic $13; foreign $16.25. Single copy, $3 domestic: $3.75 foreign. NOTE: The Journal was formerly published in two sections: Section A “Physics and Chemistry" and Section B “Mathematical Sciences." DIMENSIONS/NBS—This monthly magazine is published to inform scientists, engineers, business and industry leaders, teachers, students, and consumers of the latest advances in science and technology, with primary emphasis on work at NBS. The magazine highlights and reviews such issues as energy research, fire protection, building technology, metric conversion, pollution abatement, health and safety, and consumer product performance. In addition, it reports the results of Bureau programs in measurement standards and techniques, properties of matter and materials, engineering standards and services, instrumentation, and automatic data processing. Annual subscription: domestic $11; foreign $13.75.

NONPERIODICALS Monographs-- Major contributions to the technical literature on various subjects related to the Bureau's scientific and technical activities. Handbooks-Recommended codes of engineering and industrial practice (including safety codes) developed in cooperation with interested industries, professional organizations, and regulatory bodies. Special Publications, Include proceedings of conferences sponsored by NBS, NBS annual reports, and other special publications appropriate to this grouping such as wall charts, pocket cards, and bibliographies. Applied Mathematics Series —Mathematical tables, manuals, and studies of special interest to physicists, engineers, chemists, biologists, mathematicians, computer programmers, and others engaged in scientific and technical work. National Standard Reference Data Series - Provides quantitative data on the physical and chemical properties of materials, compiled from the world's literature and critically evaluated. Developed under a worldwide program coordinated by NBS under the authority of the National Standard Data Act (Public Law 90-396).

NOTE: The principal publication outlet for the foregoing data is the Journal of Physical and Chemical Reference Data (JPCRD) published quarterly for NBS by the American Chemical Society (ACS) and the American Institute of Physics (AIP). Subscriptions, reprints, and supplements available from ACS, 1155 Sixteenth St., NW, Washington, DC 20056. Building Science Series~ Disseminates technical information developed at the Bureau on building materials, components, systems, and whole structures. The series presents research results, test methods, and performance criteria related to the structural and environmental functions and the durability and safety characteristics of building elements and systems. Technical Notes-Studies or reports which are complete in themselves but restrictive in their trealment of a subject. Analogous to monographs but not so comprehensive in scope or definitive in treatment of the subject area. Often serve as a vehicle for final reports of work performed at NBS under the sponsorship of other government agencies. Voluntary Product Standards—Developed under procedures published by the Department of Commerce in Pari 10 Title 15, of the Code of Federal Regulations. The standards establish nationally recognized requirements for products, and provide all concerned interests with a basis for common understanding of the characteristics of the products. NBS administers this program as a supplement to the activities of the private sector standardizing organizations. Consumer Information Series, Practical information, based on NBS research and experience, covering areas of interest to the consumer. Easily understandable language and illustrations provide useful background knowledge for shopping in today's technological marketplace. Order the above NBS publications from: Superintendent of Documenis, Government Printing Office, Washingion, DC 20402. Order the following NBS publications--FIPS and NBSIR's-from the National Technical Information Services, Springfield, VA 22161. Federal Information Processing Standards Publications (FIPS PUB)- Publications in this series collectively constitute the Federal Information Processing Standards Register. The Register serves as the official source of information in the Federal Government regarding standards issued by NBS pursuant to the Federal Property and Administrative Services Act of 1949 as amended, Public Law 89-306 (79 Stat. 1127), and as implemented by Executive Order 11717 (38 FR 12315, dated May 11, 1973) and Part 6 of Title 15 CFR (Code of Federal Regulations). NBS Interagency Reports (NBSIR)- A special series of interim or final reports on work performed by NBS for outside sponsors (both government and non-government). In general, initial distribution is handled by the sponsor; public distribution is by the National Technical Information Services, Springfield, VA 22161, in paper copy or microfiche form.

BIBLIOGRAPHIC SUBSCRIPTION SERVICES

The following current-awareness and literature-survey bibliographies are issued periodically by the Bureau: Cryogenic Data Center ('urrent Awareness Service. A literature survey issued biweekly. Annual subscription: domestic $35; foreign $45. Liquefied Natural Gas. A literature survey issued quarterly. Annual subscription: 5.30.

Superconducting Devices and Materials. A literature survey issued quarterly. Annual subscription: $45. Please send subscription orders and remittances for the preceding bibliographic services to the National Bureau of Standards, Cryogenic Data Center (736) Boulder, CO 80303.

[blocks in formation]
[ocr errors][ocr errors][merged small][merged small][merged small]
[merged small][merged small][ocr errors][ocr errors][merged small][ocr errors]

NBS Special Publication 500-70/2
NBS Minimal BASIC Test
Programs—Version 2,
User's Manual

QC 100 14576 0.500-772

Volume 2-Source Listings
and Sample Output

THE UNIVERSITY
OF MICHIGAN

The University
of Michigan
Engineering

Librar

DEC 02 1980

ENGINEERING

LIBRARY

« PreviousContinue »