real language

Bookmarking Digg Diigo DZone Earthlink Google
Windows Live LookLater Ma.gnolia Reddit Rojo StumbleUpon Technorati

Language VXML

Author:Björn Andersson
Score: (2.95 in 20 votes)
The following is a VoiceXML implementation of the 99 Bottles of Beer song.
It can be executed at
Author: Björn Andersson <>

<vxml version="2.0">
    <var name="bottles" expr="99"/>
    <block name="verse">
      <if cond="bottles == 1">
        1 bottle of beer on the wall,
        1 bottle of beer.
        <value expr="bottles"/> bottles of beer on the wall,
        <value expr="bottles"/> bottles of beer.
      Take one down, pass it around.
      <assign name="bottles" expr="bottles-1"/>
      <if cond="bottles == 0">
        No more bottles of beer on the wall.
      <elseif cond="bottles == 1"/>
        1 bottle of beer on the wall,
        <value expr="bottles"/> bottles of beer on the wall,
      <goto nextitem="verse"/>

Download Source | Write Comment

Alternative Versions


>>  kris said on 12/02/06 17:10:46

kris This code will not do the last two lines of the song.

>>  Björn Andersson said on 04/26/07 23:22:12

Björn Andersson ABBA. That's funny. :) Hadn't thought of that my name is the perfect ABBA tribute. Björn Ulvaeus + Benny Andersson = ...

Well, some facts will kill that joke. ;)

Actually, Andersson is Sweden's second most common family name (270360 people) and Björn is Sweden's 38th most common name among men (61099 people). So my name is fairly common here (Sweden has about 9M people).

>>  EstellaWhitfield31 said on 05/10/10 16:39:32

EstellaWhitfield31 It is understandable that cash makes us free. But what to do when someone does not have money? The one way is to receive the <a href=""></a> or credit loan.

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!




Security Code: