NBS Minimal BASIC Test Programs: Version 2, User's Manual, Volume 13U.S. Department of Commerce, National Bureau of Standards, 1980 |
From inside the book
Results 1-5 of 100
Page 12
... Error And Exception Reporting The standard for BASIC , in view of its intended user base of beginning and casual programmers , attempts to specify what a conforming processor must do when confronted with non - standard circumstances ...
... Error And Exception Reporting The standard for BASIC , in view of its intended user base of beginning and casual programmers , attempts to specify what a conforming processor must do when confronted with non - standard circumstances ...
Page 13
... error or exception report , or whether appropriate documentation exists . The pseudo - code in Figure 1 describes how conforming implementations must treat errors . It may be thought of as an algorithm which the user ( not the programs ) ...
... error or exception report , or whether appropriate documentation exists . The pseudo - code in Figure 1 describes how conforming implementations must treat errors . It may be thought of as an algorithm which the user ( not the programs ) ...
Page 19
... 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 , either ...
... 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 , either ...
Page 20
... error . Thus we are faced with an interesting selection problem : out of the infinity of non - standard programs , which are worth submitting to the processor ? Three criteria seem reasonable to apply : 1 . 2 . Test errors which we ...
... error . Thus we are faced with an interesting selection problem : out of the infinity of non - standard programs , which are worth submitting to the processor ? Three criteria seem reasonable to apply : 1 . 2 . Test errors which we ...
Page 22
... error as exhibited by the test program . If the error program is rejected , the processor's error message should be a reasonably accurate description of the erroneous construction . There is a summary of the requirements for error ...
... error as exhibited by the test program . If the error program is rejected , the processor's error message should be a reasonably accurate description of the erroneous construction . There is a summary of the requirements for error ...
Other editions - View all
Common terms and phrases
15 PRINT 20 PRINT 40 PRINT SECTION ACCEPT THE PROGRAM ACCOMPANIED BY DOCUMENTATION ACCURATELY DESCRIBING ANSI STANDARD 7.2 APPROPRIATE ERROR MESSAGE ARGUMENT ASSIGNED BASIC TEST PROGRAMS COMPUTED DATA DESCRIBING THE FEATURE'S DETAILED CRITERIA DIM-STATEMENT DISPLAYED DIVISION BY ZERO END END TEST END PROGRAM FILE EXRAD FEATURE OF MINIMAL FEATURE'S INTERPRETATION FOR-STATEMENT GOSUB GOTO IDENTIFYING THE EXCEPTION implementation INFORMATIVE TEST PASSED INPUT INPUT-REPLY LINE NUMBER LINE-NUMBERS MACHINE INFINITY MESSAGE IDENTIFYING MINIMAL BASIC TEST NBS MINIMAL BASIC NON-STANDARD FEATURE NUMERIC EXPRESSIONS OK OK OK ON-GOTO OPTION BASE PASS THIS TEST PRINT 40 PRINT PRINT BEGIN TEST PRINT END PROGRAM PRINT END TEST PRINT FOR DETAILED PRINT PROGRAM FILE PRINT THIS PROGRAM PRINT THIS SECTION PRINT TO PASS PROCESSOR PROGRAM TESTS PROGRAMS USER'S MANUAL QUOTED STRINGS READ REFS REJECT THE PROGRAM REM SUBROUTINE RND FUNCTION SECTION TESTS SIGNIFICAND STATEMENT TEST IS INFORMATIVE TEST OK TEST PROGRAMS USER'S UNDERFLOW USER-DEFINED FUNCTION