From: ceriel Date: Sun, 22 Feb 1987 15:28:26 +0000 (+0000) Subject: better versions, bug fixes in compiler X-Git-Tag: release-5-5~4655 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=0c7c379d467412380a3791dccad31d460c952ce9;p=ack.git better versions, bug fixes in compiler --- diff --git a/lang/basic/test/buzzword.b.g b/lang/basic/test/buzzword.b.g index c58bb1602..89a8dd3d5 100644 --- a/lang/basic/test/buzzword.b.g +++ b/lang/basic/test/buzzword.b.g @@ -5,8 +5,8 @@ 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. + 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/gunner.b.g b/lang/basic/test/gunner.b.g index 75ae3ec88..37ae5c0ec 100644 --- a/lang/basic/test/gunner.b.g +++ b/lang/basic/test/gunner.b.g @@ -9,7 +9,7 @@ end the enemy will destroy you! maximum range of your gun is 46500 yards. - distance to the target is 43000 yards.... + distance to the target is 42956 yards.... elevation?LINE 410:ERROR 2: Out of data diff --git a/lang/basic/test/opg1.b.g b/lang/basic/test/opg1.b.g index 17bd3247a..a9b931e00 100644 --- a/lang/basic/test/opg1.b.g +++ b/lang/basic/test/opg1.b.g @@ -1 +1 @@ -percent interest is 0.000173 +percent interest is 6.918919 diff --git a/lang/basic/test/opg6.b.g b/lang/basic/test/opg6.b.g index e7b51cfd2..35068dae4 100644 --- a/lang/basic/test/opg6.b.g +++ b/lang/basic/test/opg6.b.g @@ -4,15 +4,15 @@ 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 + 144 62.222222 335.222222 604 + 36 2.222222 275.222222 496 + 110 43.333333 316.333333 570 + 98 36.666667 309.666667 558 + 63 17.222222 290.222222 523 + 26 -3.333333 269.666667 486 + 14 -10 263 474 + 78 25.555556 298.555556 538 + 66 18.888889 291.888889 526 + 51 10.555556 283.555556 511 + 107 41.666667 314.666667 567 + 2 -16.666667 256.333333 462 diff --git a/lang/basic/test/test10.b.g b/lang/basic/test/test10.b.g index 835ea60c4..b350b049e 100644 --- a/lang/basic/test/test10.b.g +++ b/lang/basic/test/test10.b.g @@ -2,4 +2,5 @@ line130 line140 line150 -LINE 120:ERROR 1: RETURN without GOSUB + 4 end +Break in 121 diff --git a/lang/basic/test/test22.b.g b/lang/basic/test/test22.b.g index 8881da2d4..fb73be7b5 100644 --- a/lang/basic/test/test22.b.g +++ b/lang/basic/test/test22.b.g @@ -1,4 +1,4 @@ hello brave new world handicap try to read beyond -ÿ +LINE 70:ERROR 2: Out of data diff --git a/lang/basic/test/test26.b.g b/lang/basic/test/test26.b.g index c102d0b8b..77236de51 100644 --- a/lang/basic/test/test26.b.g +++ b/lang/basic/test/test26.b.g @@ -9,8 +9,8 @@ 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 +hex0 10 ffffffff +oct0 20 37777777777 len 0 3 1 tan 0 1255.765592 -0.001593 -1.557408 sqr 0 1.252996 1.772005 diff --git a/lang/basic/test/test27.b.g b/lang/basic/test/test27.b.g index 5475f1cda..32de3dd64 100644 --- a/lang/basic/test/test27.b.g +++ b/lang/basic/test/test27.b.g @@ -4,5 +4,4 @@ 160 true 170 true yes or no -? 0 - 0 +?LINE 190:ERROR 2: Out of data