NBS Minimal BASIC Test Programs: Version 2, User's Manual, Volume 13 |
From inside the book
Page 4
37 37 38 40 5.12 Implementation - supplied Functions ... 42 5.12.1 Precise functions : ABS , INT , SGN . 42 5.12.2 Approximated functions : SQR , ATN , COS , EXP , LOG , SIN , TAN .. 5.12.3 RND and RANDOMIZE .
37 37 38 40 5.12 Implementation - supplied Functions ... 42 5.12.1 Precise functions : ABS , INT , SGN . 42 5.12.2 Approximated functions : SQR , ATN , COS , EXP , LOG , SIN , TAN .. 5.12.3 RND and RANDOMIZE .
Page 8
There is a modest assortment of numeric functions . One- and two - dimensional arrays are allowed , but only for ... The RANDOMIZE statement works in conjunction with the RND function . If RND is called without execution of RANDOMIZE ...
There is a modest assortment of numeric functions . One- and two - dimensional arrays are allowed , but only for ... The RANDOMIZE statement works in conjunction with the RND function . If RND is called without execution of RANDOMIZE ...
Page 11
Rather their primary function is as test data . It is readily apparent , for instance , that the majority of BASIC test programs are algorithmically trivial ; some consist only of a series of PRINT statements .
Rather their primary function is as test data . It is readily apparent , for instance , that the majority of BASIC test programs are algorithmically trivial ; some consist only of a series of PRINT statements .
Page 20
6 . line number of zero line - length > 72 characters use of an undefined user function use of a function before its definition recursive function definition 7. duplicate function definition 8 . 9 . number of arguments in function ...
6 . line number of zero line - length > 72 characters use of an undefined user function use of a function before its definition recursive function definition 7. duplicate function definition 8 . 9 . number of arguments in function ...
Page 22
14 . type mismatch on function reference ( using string as an argument ) DEF with string variable for parameter 15 . DEF with multiple parameters 16 . misplaced or missing END - statement 17. null entries in various lists ( INPUT ...
14 . type mismatch on function reference ( using string as an argument ) DEF with string variable for parameter 15 . DEF with multiple parameters 16 . misplaced or missing END - statement 17. null entries in various lists ( INPUT ...
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