Voting

Category

real language

Bookmarking

Del.icio.us Digg Diigo DZone Earthlink Google Kick.ie
Windows Live LookLater Ma.gnolia Reddit Rojo StumbleUpon Technorati

Language NCL

Date:04/20/05
Author:Anonymous
URL:n/a
Comments:0
Info:n/a
Score: (2.92 in 13 votes)
(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

Alternative Versions

Comments

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!

Name:

eMail:

URL:

Security Code:
  
Comment: