bottlefunction = {arg n; Post << (n>0).if(n, {"no more"}) << " bottle" << (n>1 or: n==0).if({"s"}, {""}) << " of beer"; }; 99.for(1,{arg i; bottlefunction.value(i); Post << "on the wall, "; bottlefunction.value(i); ".".postln; Post << "Take one down and pass it around, "; bottlefunction.value(i-1); " on the wall.".postln; }); "No more bottles of beer on the wall, no more bottles of beer".postln; Post << "Go to the store and buy some more, "; bottlefunction.value(99); "on the wall".postln;