99 Bottles of Beer/Basic: Difference between revisions
no edit summary
m (Updated headers) |
No edit summary |
||
Line 137:
END
</syntaxhighlight>
==={{header|bootBASIC}}===
bootBASIC doesn't allow semicolons after variables in print statements and lines are limited to 19 characters.
<syntaxhighlight lang="BASIC">
5 a=99
10 print a
20 print "bottles ";
30 print "of beer ";
40 print "on the ";
50 print "wall!"
60 print a
70 print "bottles ";
80 print "of beer!"
90 print "take one ";
100 print "down, pass";
110 print " it around!"
115 a=a-1
120 print a
130 print "bottles ";
140 print "of beer ";
150 print "on the ";
160 print "wall!"
170 print
180 if a goto 10
</syntaxhighlight>
|