Language DCL
(on VAX)
Date: | 04/20/05 |
Author: | Anonymous |
URL: | n/a |
Comments: | 1 |
Info: | n/a |
Score: | (2.00 in 2 votes) |
$ I=100 $ FIRSTLOOP: $ IF (I.EQ. 1) THEN GOTO LAST_BOTTLE $ WRITE SYS$OUTPUT I," BOTTLES OF BEER ON THE WALL" $ WRITE SYS$OUTPUT I," BOTTLES OF BEER" $ WRITE SYS$OUTPUT "IF ONE OF THEM SHOULD HAPPEN TO FALL" $ WRITE SYS$OUTPUT I-1," BOTTLE OF BEER ON THE WALL" $ WRITE SYS$OUTPUT " " $ I=I-1 $ GOTO FIRSTLOOP $ LAST_BOTTLE: $ WRITE SYS$OUTPUT "1 BOTTLE OF BEER ON THE WALL" $ WRITE SYS$OUTPUT "1 BOTTLE OF BEER" $ WRITE SYS$OUTPUT "IF IT SHOULD HAPPEN TO FALL" $ WRITE SYS$OUTPUT "NO MORE BOTTLES OF BEER ON THE WALL"
Download Source | Write Comment
Alternative Versions
Version | Author | Date | Comments | Rate |
---|---|---|---|---|
for OpenVMS | Rik Steenwinkel | 04/20/05 | 0 | |
Digital Command Language OpenVMS V7.3-1 | Javascribe | 08/18/08 | 2 | |
for VMS | Anonymous | 04/20/05 | 0 |
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
Steve O said on 06/09/08 17:28:05
Why are you shouting?