Language NCL
| Date: | 04/20/05 |
| Author: | Anonymous |
| URL: | n/a |
| Comments: | 0 |
| Info: | n/a |
| Score: |
(Network Control Language, in an OS/390 Subsystem called Solve:Operations
for OS/390 by Sterling Software, now Computer Associates, Link for more
Infos about this Product:
http://www3.ca.com/Solutions/ProductFamily.asp?ID=1643)
-* NCLversion of 99 bottles of beer
&CNT = 1
&DOWHILE 0&CNT > 01
&WRITE LOG=YES &CNT BOTTLE(S) OF BEER ON THE WALL, &CNT BOTTLE(S) OF
BEER
&WRITE LOG=YES TAKE ONE DOWN AND PASS IT AROUND
&CNT1 = &CNT - 1
&WRITE LOG=YES &CNT1 BOTTLE(S) OF BEER ON THE WALL
&DOEND
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