Added Cobol, Oberon, Oberon-2 and Zonnon

This commit is contained in:
William Suggs
2009-03-02 09:31:09 +08:00
committed by Mike Donaghy
parent 6eb6066a3b
commit 0f3251ddef
4 changed files with 24 additions and 0 deletions

6
c/cobol.cbl Normal file
View File

@@ -0,0 +1,6 @@
IDENTIFICATION DIVISION.
PROGRAM-ID. HELLOWORLD.
PROCEDURE DIVISION.
MAIN.
DISPLAY 'Hello, world.'.
STOP RUN.

6
o/oberon-2.obn Normal file
View File

@@ -0,0 +1,6 @@
MODULE HelloWorld;
IMPORT Out;
BEGIN
Out.String( "Hello World" );
Out.Ln;
END HelloWorld.

8
o/oberon.o Normal file
View File

@@ -0,0 +1,8 @@
MODULE HelloWorld;
IMPORT Out;
BEGIN
Out.Open;
Out.String('Hello World');
END HelloWorld.

4
z/zonnon.znn Normal file
View File

@@ -0,0 +1,4 @@
module HelloWorld;
begin
writeln("Hello World");
end HelloWorld.