Added Cobol, Oberon, Oberon-2 and Zonnon
This commit is contained in:
committed by
Mike Donaghy
parent
6eb6066a3b
commit
0f3251ddef
6
c/cobol.cbl
Normal file
6
c/cobol.cbl
Normal 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
6
o/oberon-2.obn
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
MODULE HelloWorld;
|
||||||
|
IMPORT Out;
|
||||||
|
BEGIN
|
||||||
|
Out.String( "Hello World" );
|
||||||
|
Out.Ln;
|
||||||
|
END HelloWorld.
|
||||||
8
o/oberon.o
Normal file
8
o/oberon.o
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
MODULE HelloWorld;
|
||||||
|
|
||||||
|
IMPORT Out;
|
||||||
|
|
||||||
|
BEGIN
|
||||||
|
Out.Open;
|
||||||
|
Out.String('Hello World');
|
||||||
|
END HelloWorld.
|
||||||
4
z/zonnon.znn
Normal file
4
z/zonnon.znn
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
module HelloWorld;
|
||||||
|
begin
|
||||||
|
writeln("Hello World");
|
||||||
|
end HelloWorld.
|
||||||
Reference in New Issue
Block a user