From 43a2b603608c1eed4cecc789a13b9bdf510207ee Mon Sep 17 00:00:00 2001 From: keie Date: Sat, 16 Feb 1985 22:09:05 +0000 Subject: [PATCH] *** empty log message *** --- lang/basic/test/bull.b.g | 12 ++++++++++++ lang/basic/test/buzzword.b.g | 12 ++++++++++++ lang/basic/test/grafiek.b.g | 34 ++++++++++++++++++++++++++++++++++ lang/basic/test/gunner.b.g | 15 +++++++++++++++ lang/basic/test/learn.b.g | 1 + lang/basic/test/opg1.b.g | 1 + lang/basic/test/opg2.b.g | 1 + lang/basic/test/opg3.b.g | 21 +++++++++++++++++++++ lang/basic/test/opg4.b.g | 21 +++++++++++++++++++++ lang/basic/test/opg5.b.g | 1 + lang/basic/test/opg6.b.g | 18 ++++++++++++++++++ lang/basic/test/som4.b.g | 2 ++ lang/basic/test/test01.b.g | 3 +++ lang/basic/test/test02.b.g | 3 +++ lang/basic/test/test03.b.g | 2 ++ lang/basic/test/test04.b.g | 5 +++++ lang/basic/test/test05.b.g | 2 ++ lang/basic/test/test06.b.g | 13 +++++++++++++ lang/basic/test/test07.b.g | 3 +++ lang/basic/test/test08.b.g | 3 +++ lang/basic/test/test09.b.g | 17 +++++++++++++++++ lang/basic/test/test10.b.g | 5 +++++ lang/basic/test/test11.b.g | 2 ++ lang/basic/test/test12.b.g | 3 +++ lang/basic/test/test13.b.g | 4 ++++ lang/basic/test/test14.b.g | 17 +++++++++++++++++ lang/basic/test/test15.b.g | 3 +++ lang/basic/test/test16.b.g | 21 +++++++++++++++++++++ lang/basic/test/test17.b.g | 1 + lang/basic/test/test18.b.g | 5 +++++ lang/basic/test/test19.b.g | 5 +++++ lang/basic/test/test20.b.g | 2 ++ lang/basic/test/test21.b.g | 4 ++++ lang/basic/test/test22.b.g | 4 ++++ lang/basic/test/test23.b.g | 2 ++ lang/basic/test/test24.b.g | 6 ++++++ lang/basic/test/test25.b.g | 3 +++ lang/basic/test/test26.b.g | 17 +++++++++++++++++ lang/basic/test/test27.b.g | 8 ++++++++ lang/basic/test/test28.b.g | 2 ++ lang/basic/test/test29.b.g | 14 ++++++++++++++ lang/basic/test/test30.b.g | 3 +++ lang/basic/test/test31.b.g | 0 lang/basic/test/test32.b.g | 3 +++ lang/basic/test/test33.b.g | 2 ++ lang/basic/test/test35.b.g | 0 46 files changed, 326 insertions(+) create mode 100644 lang/basic/test/bull.b.g create mode 100644 lang/basic/test/buzzword.b.g create mode 100644 lang/basic/test/grafiek.b.g create mode 100644 lang/basic/test/gunner.b.g create mode 100644 lang/basic/test/learn.b.g create mode 100644 lang/basic/test/opg1.b.g create mode 100644 lang/basic/test/opg2.b.g create mode 100644 lang/basic/test/opg3.b.g create mode 100644 lang/basic/test/opg4.b.g create mode 100644 lang/basic/test/opg5.b.g create mode 100644 lang/basic/test/opg6.b.g create mode 100644 lang/basic/test/som4.b.g create mode 100644 lang/basic/test/test01.b.g create mode 100644 lang/basic/test/test02.b.g create mode 100644 lang/basic/test/test03.b.g create mode 100644 lang/basic/test/test04.b.g create mode 100644 lang/basic/test/test05.b.g create mode 100644 lang/basic/test/test06.b.g create mode 100644 lang/basic/test/test07.b.g create mode 100644 lang/basic/test/test08.b.g create mode 100644 lang/basic/test/test09.b.g create mode 100644 lang/basic/test/test10.b.g create mode 100644 lang/basic/test/test11.b.g create mode 100644 lang/basic/test/test12.b.g create mode 100644 lang/basic/test/test13.b.g create mode 100644 lang/basic/test/test14.b.g create mode 100644 lang/basic/test/test15.b.g create mode 100644 lang/basic/test/test16.b.g create mode 100644 lang/basic/test/test17.b.g create mode 100644 lang/basic/test/test18.b.g create mode 100644 lang/basic/test/test19.b.g create mode 100644 lang/basic/test/test20.b.g create mode 100644 lang/basic/test/test21.b.g create mode 100644 lang/basic/test/test22.b.g create mode 100644 lang/basic/test/test23.b.g create mode 100644 lang/basic/test/test24.b.g create mode 100644 lang/basic/test/test25.b.g create mode 100644 lang/basic/test/test26.b.g create mode 100644 lang/basic/test/test27.b.g create mode 100644 lang/basic/test/test28.b.g create mode 100644 lang/basic/test/test29.b.g create mode 100644 lang/basic/test/test30.b.g create mode 100644 lang/basic/test/test31.b.g create mode 100644 lang/basic/test/test32.b.g create mode 100644 lang/basic/test/test33.b.g create mode 100644 lang/basic/test/test35.b.g diff --git a/lang/basic/test/bull.b.g b/lang/basic/test/bull.b.g new file mode 100644 index 000000000..37ec02447 --- /dev/null +++ b/lang/basic/test/bull.b.g @@ -0,0 +1,12 @@ +game of bullseye + +in this game, up to 20 players throw darts at a target +with 10,20,30, and 40 point zones. The objective is +toget 200 point. + +throw description probable score + 1 fast overarm bullseye or complete miss + 2 controlled overarm 10,20,30 points + 3 underarm anything + +how many players?LINE 110:ERROR 2: Out of data diff --git a/lang/basic/test/buzzword.b.g b/lang/basic/test/buzzword.b.g new file mode 100644 index 000000000..c58bb1602 --- /dev/null +++ b/lang/basic/test/buzzword.b.g @@ -0,0 +1,12 @@ +This computer program demonstration us a new aid for +preparing speeches and briefings. It's a buzzword +generator which provides you with a set of three higly +acceptablewords to work into your material. The words +don't actually mean anything, but they sound great. + +the procedure: +Think of any three numbers between 0 and 9, enter +them after the '?' separated by commas. your +buzzword will be printed out. Typing 100 for +each of your choices stops this program. +What are your three numbers?LINE 260:ERROR 2: Out of data diff --git a/lang/basic/test/grafiek.b.g b/lang/basic/test/grafiek.b.g new file mode 100644 index 000000000..b3e41f81a --- /dev/null +++ b/lang/basic/test/grafiek.b.g @@ -0,0 +1,34 @@ + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + I * . + I * . + I * . + I * . + I . * + I . * + I . * + I + . * + . I * + . I * + . I * + . I * + . I * + . I * + . I * + . * I + . * I + . * I + . * I + * . I + * . I + * . I + * . + I + * I . + * I . + * I . + * I . + * I . + * I . + * I . diff --git a/lang/basic/test/gunner.b.g b/lang/basic/test/gunner.b.g new file mode 100644 index 000000000..75ae3ec88 --- /dev/null +++ b/lang/basic/test/gunner.b.g @@ -0,0 +1,15 @@ +this program simulates the results +of firing a field artillery weapon + +you are the officer-in-charge, giving orders to the gun +crew, telling them the degrees of elevation you estimate +will place the projectile on target. A hit within 100 yards +of the target will destroy it. Take more than 5 shots, +end the enemy will destroy you! + +maximum range of your gun is 46500 yards. + + distance to the target is 43000 yards.... + + +elevation?LINE 410:ERROR 2: Out of data diff --git a/lang/basic/test/learn.b.g b/lang/basic/test/learn.b.g new file mode 100644 index 000000000..1ff759354 --- /dev/null +++ b/lang/basic/test/learn.b.g @@ -0,0 +1 @@ +how many variable have you?LINE 20:ERROR 2: Out of data diff --git a/lang/basic/test/opg1.b.g b/lang/basic/test/opg1.b.g new file mode 100644 index 000000000..17bd3247a --- /dev/null +++ b/lang/basic/test/opg1.b.g @@ -0,0 +1 @@ +percent interest is 0.000173 diff --git a/lang/basic/test/opg2.b.g b/lang/basic/test/opg2.b.g new file mode 100644 index 000000000..e129bf5bc --- /dev/null +++ b/lang/basic/test/opg2.b.g @@ -0,0 +1 @@ +square root of 81 equals 9 diff --git a/lang/basic/test/opg3.b.g b/lang/basic/test/opg3.b.g new file mode 100644 index 000000000..c81682a32 --- /dev/null +++ b/lang/basic/test/opg3.b.g @@ -0,0 +1,21 @@ +n n2 n3 1/n square root + 1 1 1 1 1 + 2 4 8 0.5 1.414214 + 3 9 27 0.333333 1.732051 + 4 16 64 0.25 2 + 5 25 125 0.2 2.236068 + 6 36 216 0.166667 2.44949 + 7 49 343 0.142857 2.645751 + 8 64 512 0.125 2.828427 + 9 81 729 0.111111 3 + 10 100 1000 0.1 3.162278 + 11 121 1331 0.090909 3.316625 + 12 144 1728 0.083333 3.464102 + 13 169 2197 0.076923 3.605551 + 14 196 2744 0.071429 3.741657 + 15 225 3375 0.066667 3.872983 + 16 256 4096 0.0625 4 + 17 289 4913 0.058824 4.123106 + 18 324 5832 0.055556 4.242641 + 19 361 6859 0.052632 4.358899 + 20 400 8000 0.05 4.472136 diff --git a/lang/basic/test/opg4.b.g b/lang/basic/test/opg4.b.g new file mode 100644 index 000000000..c81682a32 --- /dev/null +++ b/lang/basic/test/opg4.b.g @@ -0,0 +1,21 @@ +n n2 n3 1/n square root + 1 1 1 1 1 + 2 4 8 0.5 1.414214 + 3 9 27 0.333333 1.732051 + 4 16 64 0.25 2 + 5 25 125 0.2 2.236068 + 6 36 216 0.166667 2.44949 + 7 49 343 0.142857 2.645751 + 8 64 512 0.125 2.828427 + 9 81 729 0.111111 3 + 10 100 1000 0.1 3.162278 + 11 121 1331 0.090909 3.316625 + 12 144 1728 0.083333 3.464102 + 13 169 2197 0.076923 3.605551 + 14 196 2744 0.071429 3.741657 + 15 225 3375 0.066667 3.872983 + 16 256 4096 0.0625 4 + 17 289 4913 0.058824 4.123106 + 18 324 5832 0.055556 4.242641 + 19 361 6859 0.052632 4.358899 + 20 400 8000 0.05 4.472136 diff --git a/lang/basic/test/opg5.b.g b/lang/basic/test/opg5.b.g new file mode 100644 index 000000000..4d29e5aa5 --- /dev/null +++ b/lang/basic/test/opg5.b.g @@ -0,0 +1 @@ +largest number is 263 diff --git a/lang/basic/test/opg6.b.g b/lang/basic/test/opg6.b.g new file mode 100644 index 000000000..e7b51cfd2 --- /dev/null +++ b/lang/basic/test/opg6.b.g @@ -0,0 +1,18 @@ +fahrenheit centrigrade kelvin rankin + + + + + + 144 0.00496 273.00496 604 + 36 0.138889 273.138889 496 + 110 0.007123 273.007123 570 + 98 0.008418 273.008418 558 + 63 0.017921 273.017921 523 + 26 -0.092593 272.907407 486 + 14 -0.030864 272.969136 474 + 78 0.012077 273.012077 538 + 66 0.01634 273.01634 526 + 51 0.02924 273.02924 511 + 107 0.007407 273.007407 567 + 2 -0.018519 272.981481 462 diff --git a/lang/basic/test/som4.b.g b/lang/basic/test/som4.b.g new file mode 100644 index 000000000..8201fb502 --- /dev/null +++ b/lang/basic/test/som4.b.g @@ -0,0 +1,2 @@ + beginwaarde =a +?LINE 20:ERROR 2: Out of data diff --git a/lang/basic/test/test01.b.g b/lang/basic/test/test01.b.g new file mode 100644 index 000000000..08a4f6b03 --- /dev/null +++ b/lang/basic/test/test01.b.g @@ -0,0 +1,3 @@ +hello world +a happy 1984 +a happy 1984 !! diff --git a/lang/basic/test/test02.b.g b/lang/basic/test/test02.b.g new file mode 100644 index 000000000..1d71e6221 --- /dev/null +++ b/lang/basic/test/test02.b.g @@ -0,0 +1,3 @@ + 1 + 2 + 3 diff --git a/lang/basic/test/test03.b.g b/lang/basic/test/test03.b.g new file mode 100644 index 000000000..4e026dd7b --- /dev/null +++ b/lang/basic/test/test03.b.g @@ -0,0 +1,2 @@ + 1 + 2 diff --git a/lang/basic/test/test04.b.g b/lang/basic/test/test04.b.g new file mode 100644 index 000000000..18ef05c56 --- /dev/null +++ b/lang/basic/test/test04.b.g @@ -0,0 +1,5 @@ + 1 + 2 + 1 + 12 +hello diff --git a/lang/basic/test/test05.b.g b/lang/basic/test/test05.b.g new file mode 100644 index 000000000..603f04586 --- /dev/null +++ b/lang/basic/test/test05.b.g @@ -0,0 +1,2 @@ + 1 hello +Break in 130 diff --git a/lang/basic/test/test06.b.g b/lang/basic/test/test06.b.g new file mode 100644 index 000000000..0fc4328f1 --- /dev/null +++ b/lang/basic/test/test06.b.g @@ -0,0 +1,13 @@ +-1 + 0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 diff --git a/lang/basic/test/test07.b.g b/lang/basic/test/test07.b.g new file mode 100644 index 000000000..0030d0cb7 --- /dev/null +++ b/lang/basic/test/test07.b.g @@ -0,0 +1,3 @@ +whiletest +a happy 1984 +?LINE 123:ERROR 2: Out of data diff --git a/lang/basic/test/test08.b.g b/lang/basic/test/test08.b.g new file mode 100644 index 000000000..994fb53c8 --- /dev/null +++ b/lang/basic/test/test08.b.g @@ -0,0 +1,3 @@ +start +line 120 +end diff --git a/lang/basic/test/test09.b.g b/lang/basic/test/test09.b.g new file mode 100644 index 000000000..12d6e0389 --- /dev/null +++ b/lang/basic/test/test09.b.g @@ -0,0 +1,17 @@ +ok +ok2 +1<2 +1<0 +1<=2 +1<=0 +1>2 +1>0 +1>=2 +1>=0 +-1 and -1 +-1 and 0 +-1 or -1 +-1 or 0 +0 or 0 +1<1 +i=100 diff --git a/lang/basic/test/test10.b.g b/lang/basic/test/test10.b.g new file mode 100644 index 000000000..835ea60c4 --- /dev/null +++ b/lang/basic/test/test10.b.g @@ -0,0 +1,5 @@ + 1 +line130 +line140 +line150 +LINE 120:ERROR 1: RETURN without GOSUB diff --git a/lang/basic/test/test11.b.g b/lang/basic/test/test11.b.g new file mode 100644 index 000000000..9855ceaa1 --- /dev/null +++ b/lang/basic/test/test11.b.g @@ -0,0 +1,2 @@ + 1 + 3 diff --git a/lang/basic/test/test12.b.g b/lang/basic/test/test12.b.g new file mode 100644 index 000000000..809b8dedd --- /dev/null +++ b/lang/basic/test/test12.b.g @@ -0,0 +1,3 @@ +subroutine +succeeded +Break in 120 diff --git a/lang/basic/test/test13.b.g b/lang/basic/test/test13.b.g new file mode 100644 index 000000000..21a74d6de --- /dev/null +++ b/lang/basic/test/test13.b.g @@ -0,0 +1,4 @@ + 1 +line130 + 2 end +Break in 121 diff --git a/lang/basic/test/test14.b.g b/lang/basic/test/test14.b.g new file mode 100644 index 000000000..66d9610d4 --- /dev/null +++ b/lang/basic/test/test14.b.g @@ -0,0 +1,17 @@ +help 0 +ok + 3 + 0 0 + 1 1 + 2 4 + 3 9 + 4 16 + 5 25 + 6 36 + 7 49 + 8 64 + 9 81 + 10 100 + 11 121 + 12 144 + 13 169 diff --git a/lang/basic/test/test15.b.g b/lang/basic/test/test15.b.g new file mode 100644 index 000000000..cd6f42531 --- /dev/null +++ b/lang/basic/test/test15.b.g @@ -0,0 +1,3 @@ +menu +enter date + diff --git a/lang/basic/test/test16.b.g b/lang/basic/test/test16.b.g new file mode 100644 index 000000000..7a6f68afe --- /dev/null +++ b/lang/basic/test/test16.b.g @@ -0,0 +1,21 @@ + 0 0 + 0 1 + 0 2 + 0 3 + 1 0 + 1 1 + 1 2 + 1 3 + 2 0 + 2 1 + 2 2 + 2 3 + 3 0 + 3 1 + 3 2 + 3 3 +filled + 0 + 1 + 4 + 9 diff --git a/lang/basic/test/test17.b.g b/lang/basic/test/test17.b.g new file mode 100644 index 000000000..f02f87e19 --- /dev/null +++ b/lang/basic/test/test17.b.g @@ -0,0 +1 @@ +LINE 110: FATAL ERROR: trap 8 diff --git a/lang/basic/test/test18.b.g b/lang/basic/test/test18.b.g new file mode 100644 index 000000000..4b915d203 --- /dev/null +++ b/lang/basic/test/test18.b.g @@ -0,0 +1,5 @@ +division error catched 8 130 +waiting for interrupt +interrupt catched +generate error 352 +LINE 520:ERROR 352: Unprintable error diff --git a/lang/basic/test/test19.b.g b/lang/basic/test/test19.b.g new file mode 100644 index 000000000..7da150148 --- /dev/null +++ b/lang/basic/test/test19.b.g @@ -0,0 +1,5 @@ + 6 + 6 + 8 9 +try to read beyond eof +LINE 147:ERROR 2: Out of data diff --git a/lang/basic/test/test20.b.g b/lang/basic/test/test20.b.g new file mode 100644 index 000000000..da637dd40 --- /dev/null +++ b/lang/basic/test/test20.b.g @@ -0,0 +1,2 @@ + 6 7 3 142 0 + 158 diff --git a/lang/basic/test/test21.b.g b/lang/basic/test/test21.b.g new file mode 100644 index 000000000..a10b9c6c2 --- /dev/null +++ b/lang/basic/test/test21.b.g @@ -0,0 +1,4 @@ + 1.1 + 2.4 + 3.9 4.16 + 1.1 2.4 3.9 4.16 11.56 diff --git a/lang/basic/test/test22.b.g b/lang/basic/test/test22.b.g new file mode 100644 index 000000000..8881da2d4 --- /dev/null +++ b/lang/basic/test/test22.b.g @@ -0,0 +1,4 @@ +hello brave new world +handicap +try to read beyond +ÿ diff --git a/lang/basic/test/test23.b.g b/lang/basic/test/test23.b.g new file mode 100644 index 000000000..78d2a9ca4 --- /dev/null +++ b/lang/basic/test/test23.b.g @@ -0,0 +1,2 @@ +testing input from terminal +integer?LINE 130:ERROR 2: Out of data diff --git a/lang/basic/test/test24.b.g b/lang/basic/test/test24.b.g new file mode 100644 index 000000000..cabcc4114 --- /dev/null +++ b/lang/basic/test/test24.b.g @@ -0,0 +1,6 @@ +1.0+3.14= 4.14 + 4.14 +3.19*23.6= 75.284 + 75.284 +3.19*(23.6+23)= 148.654 + 148.654 diff --git a/lang/basic/test/test25.b.g b/lang/basic/test/test25.b.g new file mode 100644 index 000000000..77ae88711 --- /dev/null +++ b/lang/basic/test/test25.b.g @@ -0,0 +1,3 @@ + 3.14 5.14 + 4 +-1 diff --git a/lang/basic/test/test26.b.g b/lang/basic/test/test26.b.g new file mode 100644 index 000000000..c102d0b8b --- /dev/null +++ b/lang/basic/test/test26.b.g @@ -0,0 +1,17 @@ +cint 46 -46 +fix 58 -58 +int 99 -13 +abs 1 3.14 1 1 0 +sgn-1 -1 1 1 0 +asc 97 48 +atn 0 1.003655 1.262481 0.463648 +chra 0 +cos 1 0.000796 -0.999999 0.540302 +sin 0 1 0.001593 -0.841471 +exp 1 4.806648 23.103867 0.367879 +hex0 10 ffff +oct0 20 177777 +len 0 3 1 +tan 0 1255.765592 -0.001593 -1.557408 +sqr 0 1.252996 1.772005 +log 0.451076 1.144223 diff --git a/lang/basic/test/test27.b.g b/lang/basic/test/test27.b.g new file mode 100644 index 000000000..5475f1cda --- /dev/null +++ b/lang/basic/test/test27.b.g @@ -0,0 +1,8 @@ +130 f +140 true +150 f +160 true +170 true +yes or no +? 0 + 0 diff --git a/lang/basic/test/test28.b.g b/lang/basic/test/test28.b.g new file mode 100644 index 000000000..74563f02c --- /dev/null +++ b/lang/basic/test/test28.b.g @@ -0,0 +1,2 @@ + 0 +LINE 22:ERROR 40: Syntax error in data diff --git a/lang/basic/test/test29.b.g b/lang/basic/test/test29.b.g new file mode 100644 index 000000000..a849926cb --- /dev/null +++ b/lang/basic/test/test29.b.g @@ -0,0 +1,14 @@ +-2 -1 + 1 0 0 0 + 1 1 1 0 + 0 1 1 0 +-1 -2 -2 -1 +-1 -2 -1 -1 + 16 =16? + 14 =14? + 8 =8? + 6 =6? + 10 is 10? +-1 =-1? +-14 +-14 diff --git a/lang/basic/test/test30.b.g b/lang/basic/test/test30.b.g new file mode 100644 index 000000000..3ff31e03a --- /dev/null +++ b/lang/basic/test/test30.b.g @@ -0,0 +1,3 @@ +"CAMERA","93604-1" +CAMERA +LINE 150:ERROR 29: Bad file mode diff --git a/lang/basic/test/test31.b.g b/lang/basic/test/test31.b.g new file mode 100644 index 000000000..e69de29bb diff --git a/lang/basic/test/test32.b.g b/lang/basic/test/test32.b.g new file mode 100644 index 000000000..d0d7c39cd --- /dev/null +++ b/lang/basic/test/test32.b.g @@ -0,0 +1,3 @@ +mo +nsa + diff --git a/lang/basic/test/test33.b.g b/lang/basic/test/test33.b.g new file mode 100644 index 000000000..99a73b890 --- /dev/null +++ b/lang/basic/test/test33.b.g @@ -0,0 +1,2 @@ + 3123 + 3123 diff --git a/lang/basic/test/test35.b.g b/lang/basic/test/test35.b.g new file mode 100644 index 000000000..e69de29bb -- 2.34.1