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 SCL

(System Control Language (ICL VME)

Date:08/24/05
Author:Steve Hammond
URL:n/a
Comments:1
Info:n/a
Score: (3.31 in 16 votes)
@ SCL is the system control language used on ICL (now Fujitsu) mainframes
@ running the VME2900 operating system.
@
@ It was originally intended to be used to perform batch flow control
@ (assigning files etc) but was extended and made compilable to be able
@ to perform complex mathematics.
@
@ August 2005
@ Steve Hammond
@

PROC BOTTLES IS (@ no parameters required @)
PROCBEGIN

    INT   I_COUNT

    FOR
        I_COUNT
    FROM
        99
    TO
        1
    BY
        -1
    DO
        SYSCALL SEND_MESSAGE (
            MESSAGE = NUMERIC(I_COUNT) +
                      " bottles of beer on the wall" + HEX(15) + @ line feed @
                      NUMERIC(I_COUNT) +
                      " bottles of beer." )
    REPEAT

PROCEND

Download Source | Write Comment

Alternative Versions

Comments

>>  Karel Haidinger said on 08/26/05 00:16:24

Karel Haidinger SCL is in my experience (14 years) programming language and interface to operating system (VME) which should be the example for companies developing operating systems how to interract with OS (instead of lots of clumsy scripting or control languages trying to patch something missing).

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: