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 Zim

Date:05/30/05
Author:Rodrigo Euzébio Nunes
URL:n/a
Comments:2
Info:n/a
Score: (3.04 in 25 votes)
%% Zim Version 7.11
%% Rodrigo Euzébio Nunes
 
Procedure BeerSong() Local(b)
  out '99 bottles of beer on the wall'
  out '99 bottles of beer'
  out 'You take one down and pass it around'
  let b= 98
  While b > 2
    Out $Concat($Trim(b), ' bottles of beer on the wall.')
    Out ''
    Out $Concat($Trim(b), ' bottles of beer on the wall')
    Out $Concat($Trim(b), ' bottles of beer')
    Out 'You take one down and pass it around'
    let b= b-1
  EndWhile
  let b= 1
  out $Concat( $Trim(b), ' bottle of beer on the wall')
  out ''
  out $Concat( $Trim(b), ' bottle of beer')
  out 'You take one down and pass it around'
  out 'No bottles of beer on the wall!'
 
EndProcedure

Download Source | Write Comment

Alternative Versions

Comments

>>  Dan Davis said on 07/20/06 19:19:45

Dan Davis Hello, I'm a zim contractor looking for other customers/companies using ZIM. Do you know of anyone using ZIM that needs some ZIM 7.11 or other help.????

Dan Davis
North American 905-855-5151 (Toronto, Canada ).

>>  Rodrigo E. Nunes said on 05/08/07 23:25:44

Rodrigo E. Nunes No, I don't know.
Rodrigo E. Nunes
South American, Brazil

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: