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 FBSL

Date:08/02/05
Author:Gerome GUILLEMIN
URL:n/a
Comments:1
Info:http://gedd123.free.fr/FBSLv3bin.zip
Score: (3.00 in 39 votes)
'*99 bottles of beer on the wall      *
'*FBSL Scripting Language             *
'*http://gedd123.free.fr/FBSLv3bin.zip*
Option explicit
#DllDeclare Kernel32("Sleep" As Wait, "Beep")
Dim %beer = 99, %x

Repeat beer
	Locate(10, 2, 1): ? beer & " bottles of beer on the wall " & beer & " bottles of beer"
	beer = beer - 1 : x = x + 1
	Locate(11, 2, 1): ? "Take one down and pass it around " & beer & " bottles of beer on the wall"
	If x > 33 Then
		x = 1: Cls
	Else
		If beer = 9 Then
			Cls
		Else
			Wait(150)
		End if
	End If
	Locate(12, x) : ? Space(x), "{==}"
End Repeat
Wait(500): Cls
? " No more bottle of beer on the wall. No more bottles of beer..."
? " Go to the store and buy some more...99 bottles of beer.", CrLf
Beep(100, 50): Beep(200, 75): Beep(300, 50)
Pause

Download Source | Write Comment

Alternative Versions

VersionAuthorDateCommentsRate
Scripting languageCpilot07/06/050

Comments

>>  GrahamDINA27 said on 09/02/10 05:32:56

GrahamDINA27 Specialists argue that <a href="http://bestfinance-blog.com/topics/home-loans">home loans</a> help people to live the way they want, just because they can feel free to buy needed goods. Moreover, some banks offer consolidation loan for different persons.

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: