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 HP 48 Calculator

Date:04/20/05
Author:Jeromy Carriere
URL:n/a
Comments:0
Info:n/a
Score: (2.00 in 6 votes)
Courtesy Jeromy Carriere (jayc@bnr.ca)

<<
10 1 FOR k
IF k 1 == THEN
"1 bottle of beer on the wall."
"1 bottle of beer."
ELSE
"   bottles of beer on the wall."
1 k ->STR REPL
"   bottles of beer."
1 k ->STR REPL
END
"Take one down and pass it around."
IF k 1 == THEN
"No more bottles of beer on the wall."
ELSE
IF k 2 == THEN
"1 bottle of beer on the wall."
ELSE
"   bottles of beer on the wall."
1 k 1 - ->STR REPL
END
END
-1 STEP
>>

Download Source | Write Comment

Alternative Versions

VersionAuthorDateCommentsRate
SysRPLKiyoshi Akima04/28/061

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: