Files
compiler-explorer/examples/modula2/default.mod
T
2023-02-07 23:53:54 +01:00

11 lines
203 B
Modula-2

MODULE PrintHelloWorld;
(*This program prints "Hello world!" on the standard output device*)
FROM InOut IMPORT WriteString, WriteLn;
BEGIN
WriteString('Hello world!');
WriteLn;
END PrintHelloWorld.