Language WordPerfect Macro
(WordPerfect 5.1 for DOS)
| Date: | 09/29/05 |
| Author: | Feherke |
| URL: | http://rootshell.be/~feherke/ |
| Comments: | 1 |
| Info: | n/a |
| Score: |
{;}99 bottles of beer~
{ASSIGN}nr~99~
{WHILE}1~
{CALL}beer~ on the wall,{Enter}
{CALL}beer~.{Enter}
{ASSIGN}nr~{VARIABLE}nr~-1~
{IF}{VARIABLE}nr~>-1~
Take one down and pass it around,{Enter}
{CALL}beer~ on the wall.{Enter}
{ELSE}
{ASSIGN}nr~99~
Go to the store and buy some more,{Enter}
{CALL}beer~ on the wall.{Enter}
{END IF}
{Enter}
{IF}{VARIABLE}nr~=99~
{BREAK}
{END IF}
{END WHILE}
{RETURN}
{LABEL}beer~
{IF}{VARIABLE}nr~!=0~
{VARIABLE}nr~
{ELSE}
No more
{END IF}
bottle
{IF}{VARIABLE}nr~!=1~
s
{END IF}
of beer
{RETURN}
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