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
Page 10
... program is standard by mere inspection , it would be a reasonably easy job to build recognizer or syntax checker which could always discover whether or not a program ... accept any standard program and produce the behavior specified by the ...
... program is standard by mere inspection , it would be a reasonably easy job to build recognizer or syntax checker which could always discover whether or not a program ... accept any standard program and produce the behavior specified by the ...
Page 11
... program , it certainly fails to conform to the standard ; yet this is a type of behavior which can hardly be detected by the program itself : only a human observer who knows that the processor must accept standard programs , and that this ...
... program , it certainly fails to conform to the standard ; yet this is a type of behavior which can hardly be detected by the program itself : only a human observer who knows that the processor must accept standard programs , and that this ...
Page 13
... program to implementation . an The procedure for error handling in Figure 1 speaks of a processor accepting or rejecting a program . The glossary ( sec . 19 ) of the standard defines accept as " to acknowledge as being valid " . A ...
... program to implementation . an The procedure for error handling in Figure 1 speaks of a processor accepting or rejecting a program . The glossary ( sec . 19 ) of the standard defines accept as " to acknowledge as being valid " . A ...
Page 17
... code itself . The standard requires implementations to accept source lines up to 72 characters long . If the margin is smaller than 72 , the tests should still run ( according to the standard ) , but the output will be aesthetically ...
... code itself . The standard requires implementations to accept source lines up to 72 characters long . If the margin is smaller than 72 , the tests should still run ( according to the standard ) , but the output will be aesthetically ...
Page 18
... programs are also standard conforming ( i.e. , syntactically valid ) and thus the implementation must accept and process them . considerations . There are two special The first is the distinction between so - called fatal and non ...
... programs are also standard conforming ( i.e. , syntactically valid ) and thus the implementation must accept and process them . considerations . There are two special The first is the distinction between so - called fatal and non ...
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