99 Bottles of Beer/Basic: Difference between revisions

Content added Content deleted
Line 167: Line 167:


===Craft Basic===
===Craft Basic===
<syntaxhighlight lang="basic">let beer = 99
<syntaxhighlight lang="basic">'99 bottles of beer on the wall


for beer = 99 to 1 step - 1
do


if beer > 1 then
if beer > 1 then
Line 186: Line 186:


print "take one down and pass it around..."
print "take one down and pass it around..."

let beer = beer - 1


wait
wait


loop beer <> 0
next beer

alert "All out of beer!"


alert "All out of beer!"</syntaxhighlight>
end</syntaxhighlight>


===Creative Basic===
===Creative Basic===