By S. Isaac Dealey function beerSong(x) { b = iif(x gt 1, DE("bottles"), DE("bottle")); if (x) { WriteOutput("#x# #b# of beer on the wall...
#x# #b# of beer!
"); WriteOutput("Take one down, pass it around...
"; beerSong( x - 1 ); } else { WriteOutput("No bottles of beer on the wall"); } } beerSong(99);