// SALT version of 99 Bottles of beer // By Mike Gogulski 21 March 2005 // SALT is the scripting language of Telix, a terminal program for MS-DOS // // Tested with: // Telix v3.51 (http://www.telix.com/delta/deltacom/tfd/) // under Windows 2000 (http://www.microsoft.com/) // // Save as 99bottlz.slt in your Telix directory, compile with Ctrl-F9, // start with Alt-G main() { int c = 99; while (c > 0) { printn(c); prints(" bottle(s) of beer on the wall,"); printn(c); prints(" bottle(s) of beer!"); prints("Take one down, pass it around,"); c = c - 1; printn(c); prints(" bottle(s) of beer on the wall!"); } }