NBS Minimal BASIC Test Programs: Version 2, User's Manual, Volume 13 |
From inside the book
Page 27
Both constants and variables are tested as print - items . variables , of course , have to be given a value before they are printed , and this is done with the LET statement . PRINT is among the most semantically complex statements in ...
Both constants and variables are tested as print - items . variables , of course , have to be given a value before they are printed , and this is done with the LET statement . PRINT is among the most semantically complex statements in ...
Page 28
First , the expected output format depends on the value of the print - item , not its source format . In particular , integer values should print as integers as long as the significand - width can accommodate them , fractional values ...
First , the expected output format depends on the value of the print - item , not its source format . In particular , integer values should print as integers as long as the significand - width can accommodate them , fractional values ...
Page 37
... on to the other items , and will signal a failure to the processor as described below . you If the processor accepts the ... indicating that the correct value was not received , and the program will ask if want to retry that item .
... on to the other items , and will signal a failure to the processor as described below . you If the processor accepts the ... indicating that the correct value was not received , and the program will ask if want to retry that item .
Page 38
If you forget , the item will fail and you will have a chance to retry , so make sure that a reported failure really is a processor and not just your own mistyping before bypassing the retry . As with the numeric input , if the ...
If you forget , the item will fail and you will have a chance to retry , so make sure that a reported failure really is a processor and not just your own mistyping before bypassing the retry . As with the numeric input , if the ...
Page 46
The PRINT program first tests the use of expressions as print - items . Check that the actual and correct values are reasonably close . The second section of the program tests that the TAB call is handled correctly .
The PRINT program first tests the use of expressions as print - items . Check that the actual and correct values are reasonably close . The second section of the program tests that the TAB call is handled correctly .
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 ARGUMENT ARRAY ASSIGNED BASIC TEST PROGRAMS CHARACTERS COLUMN COMPUTED CONSTANTS CONTAINING CONTROL DATA DIGITS DISPLAYED END 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 BEGIN TEST PRINT END PROGRAM PRINT END TEST PRINT PROGRAM FILE PRINT THIS SECTION PRINT TO PASS PROCESSOR PROGRAM NUMBER PROGRAM TESTS PROGRAMS USER'S MANUAL READ REFERENCE REFS REJECT THE PROGRAM REPORTED RESULT RETURN RND FUNCTION SECTION TESTS SPACE STATEMENT STEP STRING SUBSCRIPT SUPPLIED TERMINATE TEST FAILED TEST OK TEST PASSED TYPE UNDERFLOW VALUE VARIABLE ZERO