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 Visual DialogScript

(version 2.x)

Date:04/20/05
Author:Brandon Cunningham
URL:n/a
Comments:0
Info:n/a
Score: (3.00 in 17 votes)
rem Visual DialogScript version of 99 Bottles of beer (Bottles.dsc)
rem See http://www.dialogscript.com/en/
rem Made VDS 2.x Compatible by Brandon Cunningham cnodnarb@aol.com

DIALOG CREATE,Bottles of Beer,-1,0,240,160,-
  TEXT(B;10;10;;;Text)
%A = "  bottle(s) of beer"
%B = 99   
%C = " on the wall"
%D = "Take one down, pass it around,"
repeat
  DIALOG SET,B,%B%A%C","@CR()%B%A.@CR()%D@CR()@PRED(%B)%A%C.@CR()@CR()
  %B = @PRED(%B)
  WAIT 2
until @not(@GREATER(%B, 0))
DIALOG CLOSE
EXIT

Download Source | Write Comment

Alternative Versions

VersionAuthorDateCommentsRate
version 3.xBrandon Cunningham04/20/050
version 4.xPhilipp Winterberg04/20/050

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: