Browse Source

better versions, bug fixes in compiler

ceriel 37 years ago
parent
commit
af4bc8a874

+ 4 - 4
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

+ 1 - 1
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

+ 1 - 1
lang/basic/test/opg1.b.g

@@ -1 +1 @@
-percent interest is            0.000173 
+percent interest is            6.918919 

+ 12 - 12
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 

+ 2 - 1
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

+ 1 - 1
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

+ 2 - 2
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 

+ 1 - 2
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