Language SALT
| Date: | 05/22/05 |
| Author: | Mike Gogulski |
| URL: | n/a |
| Comments: | 4 |
| Info: | http://www.telix.com/delta/deltacom/tfd/ |
| Score: |
// SALT version of 99 Bottles of beer
// By Mike Gogulski <mike@gogulski.com> 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!");
}
}
Download Source | Write Comment
Download Source | Write Comment
Add Comment
Please provide a value for the fields Name,
Comment and Security Code.
This is a gravatar-friendly website.
E-mail addresses will never be shown.
Enter your e-mail address to use your gravatar.
Please don't post large portions of code here! Use the form to submit new examples or updates instead!
Comments
FWIW, I actually rather liked SALT too, so am disappointed that it wasn't represented by a more correct entry.
this website, and you are looking at an example from the second
worst offender (Winterberg being the worst). My negative
comments were met with a glib response from Mike, who clearly
knows much more about programming than I do, but much less
about programming to a clearly published specification. The
website masters are letting it through, so it's up to you guys
to submit a more correct entry. I'll give you a good vote, for
whatever it's worth.