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 MetaCard

Date:04/20/05
Author:Richard MacLemale
URL:n/a
Comments:0
Info:n/a
Score: (2.50 in 2 votes)
# This is 99 bottles of beer on the wall, in metacard.
# MetaCard is a RAD tool that is HyperCard on steroids for multiple
# platforms, available at www.metacard.com

on mouseup
     repeat with i = 99 down to 2
          answer i & "bottles of beer on the wall," & return & \
          i & "bottles of beer..." & return & \
          "Take one down, pass it around," & return & \
          (i-1) & "bottles of beer on the wall."
     end repeat
     --
     answer "1 bottle of beer on the wall," & return & \
     "1 bottle of beer..." & return & \
     "Take one down, pass it around, no bottles of beer on the wall."
     --
     answer "NO bottles of beer on the wall," & return & \
     "NO bottlse of beer..." & return & \
     "There's no beer left, that's the end."
end mouseUp

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: