NBS Minimal BASIC Test Programs: Version 2, User's Manual, Volume 13 |
From inside the book
Results 1-5 of 100
Page 5
76 Figures : Figure 1 - Error and - Error and Exception Handling ..... 14 Figure 2 - Format of Test Program Output .... 25 Figure 3 Instructions for the INPUT Exceptions Test ..... 41 1 HOW TO USE THIS MANUAL is This manual presents ...
76 Figures : Figure 1 - Error and - Error and Exception Handling ..... 14 Figure 2 - Format of Test Program Output .... 25 Figure 3 Instructions for the INPUT Exceptions Test ..... 41 1 HOW TO USE THIS MANUAL is This manual presents ...
Page 12
In the BASIC 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 . a Given program with a syntactically ...
In the BASIC 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 . a Given program with a syntactically ...
Page 13
Note that it is the user , not the program , who must determine whether there has been an adequate error or exception report , or whether ... The pseudo - code in Figure 1 describes how conforming implementations must treat errors .
Note that it is the user , not the program , who must determine whether there has been an adequate error or exception report , or whether ... The pseudo - code in Figure 1 describes how conforming implementations must treat errors .
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 as exhibited by the test program . If the error program is rejected , the processor's ...
When the implementation accepts an error program be sure to check that the documentation does in fact describe the actual interpretation of the error as exhibited by the test program . If the error program is rejected , the processor's ...
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 APPROPRIATE ERROR MESSAGE ARGUMENT ARRAY ASSIGNED BASIC TEST PROGRAMS BEGIN TEST CHARACTERS COLUMN COMPUTED CONSTANTS CONTAINING CONTROL DATA DIGITS DISPLAYED END PROGRAM FILE 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 END PROGRAM PRINT PROGRAM FILE PRINT THIS SECTION PRINT TO PASS PROCESSOR PROGRAM NUMBER PROGRAM TESTS READ REFERENCE REFS REJECT THE PROGRAM REPORTED RESULT RETURN RND FUNCTION SECTION TESTS SPACE STATEMENT STRING SUBSCRIPT SUPPLIED TERMINATE TEST FAILED TEST OK TEST PASSED TYPE UNDERFLOW VALUE VARIABLE ZERO ОК ОК ОК