NBS Minimal BASIC Test Programs: Version 2, User's Manual, Volume 13 |
From inside the book
Page 12
In the standard , the first case is called an error , and the second an exception , and in order to conform , a processor must take certain actions upon encountering either sort of anomaly . program with BASIC Given a a syntactically ...
In the standard , the first case is called an error , and the second an exception , and in order to conform , a processor must take certain actions upon encountering either sort of anomaly . program with BASIC Given a a syntactically ...
Page 13
The Note that it is the user , not the program , who must determine whether there has been an adequate error or exception ... documentation exists . pseudo - code in Figure 1 describes how conforming implementations must treat errors .
The Note that it is the user , not the program , who must determine whether there has been an adequate error or exception ... documentation exists . pseudo - code in Figure 1 describes how conforming implementations must treat errors .
Page 19
4.4.2.3 Error Tests These tests have titles that begin with the word " ERROR " and examine how a processor handles a non - standard program . Each of these programs contains a syntactic construction explicitly ruled out by the standard ...
4.4.2.3 Error Tests These tests have titles that begin with the word " ERROR " and examine how a processor handles a non - standard program . Each of these programs contains a syntactic construction explicitly ruled out by the standard ...
Page 20
Test errors which we might expect would be most difficult for a processor to detect , e.g. , violations of context - sensitive constraints . These are the ones ruled out by the semantics rather than syntax sections of the standard .
Test errors which we might expect would be most difficult for a processor to detect , e.g. , violations of context - sensitive constraints . These are the ones ruled out by the semantics rather than syntax sections of the standard .
Page 22
When the implementation accepts an error program be sure to check that the documentation does in fact describe the actual interpretation of the error by the test program . If the error program is rejected , the processor's error message ...
When the implementation accepts an error program be sure to check that the documentation does in fact describe the actual interpretation of the error by the test program . If the error program is rejected , the processor's error message ...
What people are saying - Write a review
We haven't found any reviews in the usual places.
Other editions - View all
Common terms and phrases
20 PRINT 40 PRINT SECTION ACCEPT THE PROGRAM ACCOMPANIED BY DOCUMENTATION ACCURACY ACTUAL ALLOWING ANSI STANDARD ARGUMENT ARRAY ASSIGNED BASIC TEST PROGRAMS CHARACTERS COLUMN COMPUTED CONSTANTS CONTAINING CONTROL DATA DIGITS DISPLAYED END END TEST ENTER ERROR EVALUATION EXACT EXECUTION EXPECTED FOLLOWING FUNCTION GOSUB GOTO IDENTIFYING THE EXCEPTION implementation INFORMATIVE TEST INPUT INPUT-REPLY ITEM LINE LOOP MEASURE MESSAGE IDENTIFYING MINIMAL BASIC TEST NBS MINIMAL BASIC NEGATIVE NON-STANDARD FEATURE NOTE NUMERIC EXPRESSIONS OCCUR OK OK OK operations ORDER OUTPUT OVERFLOW PASS THIS TEST POSITIVE PRINT 40 PRINT PRINT BEGIN TEST PRINT END PROGRAM PRINT END TEST PRINT PROGRAM FILE PRINT THIS SECTION PRINT TO PASS PROCESSOR PROGRAM NUMBER PROGRAM TESTS PROGRAMS USER'S MANUAL READ REFERENCE REFS REJECT THE PROGRAM REPORTED RESULT RETURN RND FUNCTION SECTION TESTS SPACE STATEMENT STEP STRING SUBSCRIPT SUPPLIED TERMINATE TEST FAILED TEST OK TEST PASSED TYPE UNDERFLOW VALUE VARIABLE ZERO