« PreviousContinue »
Testing Features Before Using Them...
Hierarchical Organization of the Tests..
Expressions in other contexts: PRINT, IF,
5.14.3 Exceptions in subscripts and arguments.
Exceptions in other contexts: PRINT, IF,
Tables of Summary Information about the Test Programs......
Cross-reference between ANSI Standard and Test
Appendix A: Differences between Versions 1 and 2 of the
Minimal BASIC Test Programs.
Figure 1 - Error and
- Error and Exception Handling .....
This manual presents background information and operating instructions for the NBS Minimal BASIC test programs. Readers who want a general idea of what the programs are supposed to do and why they are structured as they are should read sections 2 and 3. These sections give a brief explanation of BASIC, how it standardized, and how the test programs
measure conformance to the standard. Those who wish to know how
to interpret the results
program execution should also read section 3 and then section 4 for the general rules of interpretation and section 5 for information peculiar to individual programs and groups of programs within the test system. Section 6 contains tables of summary information about the tests.
Volume 2 of this publication consists of the source listings and sample outputs for all the test programs.
The test system for BASIC should be helpful to anyone with an interest in measuring the conformance of an implementation of BASIC (e.g., a compiler or interpreter) to the Minimal BASIC standard. This would include 1) purchasers who want to be sure they are buying a standard implementation, 2) programmers who must use a given implementation and want to know in which areas it conforms to the standard and which features to avoid or be wary of, and 3) implementors who may wish to use the tests as a development and debugging tool.
Much of this manual
is derived from the technical specifications in the American National Standard for Minimal BASIC, ANSI X3.60-1978 (1). You will need a copy of that standard in order
to understand most of the material herein. Copies are available from the American National Standards Institute, 1430 Broadway, New York, NY 10018. This document will frequently cite ANSI X3.60-1978, and references to "the standard" should be taken to mean that ANSI publication.
The measure of success for Version 2 of the Minimal BASIC Test Programs is its usefulness to you. We at NBS would greatly appreciate hearing about your evaluation of the test system. We will respond to requests for clarification concerning the system and its relation to the standard. Also, we will maintain a mailing list of users who request to be notified of changes and major clarifications. Please direct all
Please direct all comments, questions, and suggestions to: