http://99-bottles-of-beer.ls-la.net/
A simple program in 515 computer languages from A= to ZZT and all the wacky ones in between! Here it is in Actionscript !
// "99 bottles of beer" in ActionScript
// by David Fichtmueller ( david@fichtmueller.de )
b = 99;
for (i=1; i<=99; i++) {
txt = txt+b+" bottle(s) of beer on the wall. "+b+" bottle(s) of beer. Take
one down, pass it around, ";
b = b-1;
txt = txt+b+" bottle(s) of beer on the wall. ";
}
stop ();
0 Comments:
Post a Comment
<< Home