Voting

Category

real language

Bookmarking

Del.icio.us Digg Diigo DZone Earthlink Google Kick.ie
Windows Live LookLater Ma.gnolia Reddit Rojo StumbleUpon Technorati

Language TMScript

Date:05/17/05
Author:Mike Gogulski
URL:n/a
Comments:0
Info:http://www.acemile.ca/twtm/
Score: (1.71 in 7 votes)
; TMScript version of 99 Bottles of beer
; By Mike Gogulski <mike@gogulski.com> 21 March 2005
; TMScript is the scripting language of Telemate, a terminal program for MS-DOS
;
; Tested with:
;   Telemate 4.21 (http://www.acemile.ca/twtm/)
;   under MS-DOS 7.10 (http://newdos.yginfo.net/msdos71/)
;   under VMware Workstation 4.5.2-8848 (http://www.vmware.com/)
;   under Windows 2000 (http://www.microsoft.com/)
 
integer bottles
bottles = 99
while bottles > 0
 print bottles, " bottle(s) of beer on the wall,"
 print bottles, " bottle(s) of beer!"
 print "Take one down, pass it around,"
 bottles = bottles - 1
 print bottles, " bottle(s) of beer on the wall!"
endwhile

Download Source | Write Comment

Alternative Versions

Comments

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!

Name:

eMail:

URL:

Security Code:
  
Comment: