99 Bottles of Beer/Basic: Difference between revisions
Content added Content deleted
m (→{{header|Tiny BASIC}}: Works with (Tom Pittman's) TinyBasic.) |
Basicgames (talk | contribs) |
||
Line 165: | Line 165: | ||
140 print:next c |
140 print:next c |
||
</syntaxhighlight> |
</syntaxhighlight> |
||
===Craft Basic=== |
|||
<syntaxhighlight lang="basic">let beer = 99 |
|||
do |
|||
if beer > 1 then |
|||
print beer, " bottles of beer on the wall." |
|||
print beer, " bottles of beer!" |
|||
endif |
|||
if beer = 1 then |
|||
print beer, " bottle of beer on the wall." |
|||
print "1 more bottle of beer!" |
|||
endif |
|||
print "take one down and pass it around..." |
|||
let beer = beer - 1 |
|||
wait |
|||
loop beer <> 0 |
|||
alert "All out of beer!"</syntaxhighlight> |
|||
===Creative Basic=== |
===Creative Basic=== |