Language Amiga Shellscript
| Date: | 04/20/05 |
| Author: | Anonymous |
| URL: | n/a |
| Comments: | 2 |
| Info: | n/a |
| Score: |
.key num_bottles
set count <num_bottles$99>
set bword "bottles"
LAB LOOP
echo $count $bword "of beer on the wall."
echo $count $bword "of beer."
echo "Take one down, pass it around."
set count `eval $count - 1`
if $count eq 1
set bword "bottle"
else
set bword "bottles"
endif
echo $count $bword "of beer."
echo ""
if $count gt 0
skip LOOP BACK
endif
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 remember.
i have a bag with 2000 amiga-740kb-discs