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 9
Page 9
... source code and data environment should produce the same output , regardless of the machine environment . How does conformance to the standard work towards this goal ? Essentially , the standard defines the set of syntactically legal ...
... source code and data environment should produce the same output , regardless of the machine environment . How does conformance to the standard work towards this goal ? Essentially , the standard defines the set of syntactically legal ...
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 values or flow of control , that ...
... 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 values or flow of control , that ...
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 . can Since the program can't know when it has ended Page 26 Functional Groups of Test Programs 5 1 Simple PRINTing of string ...
... source code . Thus , END serves both as a syntactic marker for the end of the program , and is also executable . can Since the program can't know when it has ended Page 26 Functional Groups of Test Programs 5 1 Simple PRINTing of string ...
Other editions - View all
Common terms and phrases
8.4 PROGRAM NUMBER algorithm allows ANSI BASIC ANSI standard argument assignment Backus-Naur Form BASIC Test Programs behavior computer languages correctly decimal digits defined division by zero error programs ERROR REFS error tests Exception Handling exception report exception tests execution FOR-blocks FOR-STATEMENT FORTRAN functional group GOTO handling implementation accepts IMPLEMENTATION CONFORMANCE implementation of BASIC implementation-defined features informative tests input-reply interpretation language standard line number machine infinity measure Minimal BASIC Test non-fatal exceptions non-standard construction non-standard programs Note NUMERIC CONSTANTS NUMERIC EXPRESSIONS ON-GOTO operations OPTION BASE pass/fail message PASSES else processor passing or failing PBASIC processor FAILS processor PASSES program conformance program is standard program output programming language recovery procedure reject REM statement requirements RND FUNCTION rules sample output self-checking semantic meaning significand simple source code specified Standard Capabilities standard program syntax test fails TEST PASSED test sequence test system UNDERFLOW University of Kent USER-DEFINED FUNCTION Version zeros