mirror of
https://github.com/vishapoberon/oberonbyexample.git
synced 2026-04-05 21:02:25 +00:00
14 lines
204 B
Text
14 lines
204 B
Text
MODULE constants;
|
|
|
|
IMPORT Out;
|
|
|
|
CONST
|
|
s = "if it moves, compile it!";
|
|
n = 42;
|
|
m = n * 2;
|
|
|
|
BEGIN
|
|
Out.String(s); Out.Ln;
|
|
Out.Int(n, 0); Out.Ln;
|
|
Out.Int(m, 0); Out.Ln;
|
|
END constants.
|