basic:abandoning the idea of (:) -- executor cannot index things statement-wise, only line-wise; major re-write should be possible but NOT TODAY

This commit is contained in:
minjaesong
2020-11-29 12:12:52 +09:00
parent d9d256fcca
commit 65dca0533a
2 changed files with 15 additions and 19 deletions

View File

@@ -1,7 +1,9 @@
1 FOR I = 99 TO 1
2 (MODE = 1):(GOSUB 12)
2 MODE = 1
3 GOSUB 12
4 PRINT(I+" bottle"+BOTTLES$+" of beer on the wall, "+i+" bottle"+BOTTLES$+" of beer.")
5 (MODE = 2):(GOSUB 12)
5 MODE = 2
6 GOSUB 12
7 PRINT("Take one down and pass it around, "+(i-1)+" bottle"+BOTTLES$+" of beer on the wall.")
8 NEXT
9 PRINT "No more bottles of beer on the wall, no more bottles of beer."