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 NT Shell

Date:04/20/05
Author:Anonymous
URL:n/a
Comments:1
Info:n/a
Score: (2.83 in 18 votes)
@echo off
setlocal
set Number=100
set PluralSuffix=s
:BeerLoop
echo %Number% bottle%PluralSuffix% of beer on the wall, 
echo %Number% bottle%PluralSuffix% of beer
echo Take one down and pass it around,
set /a Number=Number-1
if %Number% leq 1 set PluralSuffix=
if %Number% neq 0 (
  echo %Number% bottle%PluralSuffix% of beer on the wall
) else (
  echo No more bottles of beer
  goto :eof)
echo.
goto :BeerLoop
endlocal

Download Source | Write Comment

Alternative Versions

Comments

>>  A friend of Hendo's said on 12/01/05 01:25:41

A friend of Hendo's That is shit, why can't you vote twice?!?

I want to express my opinion and you won't let me!!!

I will have my revenge!!!

(via email, you pansy!!!)

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: