Language English
| Date: | 11/29/05 |
| Author: | Kent Olsen |
| URL: | n/a |
| Comments: | 1 |
| Info: | n/a |
| Score: |
1 Does COMMENT text is **********************************
2 and COMMENT text is * *
3 and COMMENT text is * Beer -- '99 bottles of beer' *
4 and COMMENT text is * *
5 and COMMENT text is * K. D. Olsen 2004/02/20 *
6 and COMMENT text is * *
7 and COMMENT text is * kent@nettally.com *
8 and COMMENT text is * *
9 and COMMENT text is **********************************
10 and MOVE 88 to BOTTLES
11 and LABEL this line with
LOOP
12 and DISPLAY BOTTLES
13 and DISPLAY " bottles of beer on the wall."
14 and DISPLAY NEW LINE count is 1
15 and DISPLAY BOTTLES
16 and DISPLAY " bottles of beer."
17 and DISPLAY NEW LINE count is 1
18 and DISPLAY "Take one down, pass it around."
19 and DISPLAY NEW LINE count is 1
20 and SUBTRACT 1 from BOTTLES
21 and MOVE DIFFERENCE to BOTTLES
22 and DISPLAY BOTTLES
23 and " bottles of beer on the wall."
24 and DISPLAY NEW LINE count is 2
25 and IF BOTTLES > 0
do GO TO line labeled LOOP
26 and DISPLAY "No more bottles. sigh...."
Download Source | Write Comment
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!
Comments
I like it. Though there does seem to be a typo in the bottle count (88 instead of 99).
Whoever gave this a '1' rating obviously doesn't know the language. :/