Skip to content

Commit

Permalink
Added Modula-2 and Modula-3
Browse files Browse the repository at this point in the history
Signed-off-by: Kai Krakow <kai@kaishome.de>
  • Loading branch information
joshua authored and kakra committed Mar 8, 2009
1 parent 6e689f8 commit 44a6997
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
10 changes: 10 additions & 0 deletions m/modula-2.mod
@@ -0,0 +1,10 @@
MODULE HelloWorld;

FROM Terminal2 IMPORT WriteString, WriteLn;

BEGIN

WriteString("Hello World");
WriteLn;

END HelloWorld.
5 changes: 5 additions & 0 deletions m/modula-3.m3
@@ -0,0 +1,5 @@
MODULE HelloWorld;
IMPORT Io;
BEGIN
IO.Put ("Hello World\n")
END HelloWorld.

0 comments on commit 44a6997

Please sign in to comment.