NBS Minimal BASIC Test Programs: Version 2, User's Manual, Issue 500, Part 1 - Issue 570, Part 1U.S. Department of Commerce, National Bureau of Standards, 1980 |
From inside the book
Results 1-5 of 9
Page 9
... source code and data environment should produce the same output , regardless the machine environment . of to of How does conformance to the standard work towards this goal ? Essentially , the standard defines the set of syntactically ...
... source code and data environment should produce the same output , regardless the machine environment . of to of How does conformance to the standard work towards this goal ? Essentially , the standard defines the set of syntactically ...
Page 13
... code in Figure 1 describes how conforming implementations must treat errors . It may be thought of as an algorithm ... source code . Exception reports should note the conditions , such as data values or flow of control , that are ...
... code in Figure 1 describes how conforming implementations must treat errors . It may be thought of as an algorithm ... source code . Exception reports should note the conditions , such as data values or flow of control , that are ...
Page 17
... source 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 ...
... source 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 ...
Page 23
... source code . Using the REM statement , the programs attempt to clarify their own internal logic , should you care to examine it . Many of the programs are algorithmically trivial enough that remarks are superfluous , but otherwise ...
... source code . Using the REM statement , the programs attempt to clarify their own internal logic , should you care to examine it . Many of the programs are algorithmically trivial enough that remarks are superfluous , but otherwise ...
Page 26
... source code . Thus , END serves both as a syntactic marker for the end of the program , and is also executable . Since the program can't know when it has ended ( Page 26.
... source code . Thus , END serves both as a syntactic marker for the end of the program , and is also executable . Since the program can't know when it has ended ( Page 26.
Common terms and phrases
72 characters 8.4 PROGRAM NUMBER algorithm allowed ANSI ANSI standard argument assignment BASIC Test Programs behavior Bureau of Standards Computer Science context Control Statements correctly decimal digits DEF statement division by zero documentation endif error measure error programs error tests EVALUATION OF NUMERIC Exception Handling EXCEPTION REFS exception report exception tests execution FOR-BLOCKS FOR-STATEMENT functional group GOSUB and RETURN GOTO implementation accepts Implementation Conformance Informative Tests INPUT exception input-reply internal interpretation keyword language standard LINE-NUMBERS machine infinity Minimal BASIC Test National Bureau non-fatal exceptions NUMERIC CONSTANTS NUMERIC EXPRESSIONS ON-GOTO operations OPTION BASE pass/fail message passes or fails PBASIC PRINT processor FAILS program output programming language programs test pseudorandom QUOTED STRINGS CONTAINING recovery procedure reply requirements RND FUNCTION rules Science and Technology self-checking semantic significand simple software testing source code specified Standard Capabilities standard program syntax test fails TEST PASSED test system UNDERFLOW USER-DEFINED FUNCTION Version ZERO