Language SCL
(System Control Language (ICL VME)
| Date: | 08/24/05 |
| Author: | Steve Hammond |
| URL: | n/a |
| Comments: | 2 |
| Info: | n/a |
| Score: |
@ 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
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
Ebrahim (Ebe) Kariel