mirror of
https://github.com/vishapoberon/oberonbyexample.git
synced 2026-04-06 05:12:25 +00:00
No need for these ob2 files anymore
This commit is contained in:
parent
fed6fad453
commit
e60f8acb9f
21 changed files with 0 additions and 601 deletions
|
|
@ -1,20 +0,0 @@
|
|||
MODULE square;
|
||||
|
||||
|
||||
IMPORT Out;
|
||||
|
||||
|
||||
VAR s : INTEGER;
|
||||
|
||||
|
||||
PROCEDURE squared(x : INTEGER): INTEGER;
|
||||
BEGIN
|
||||
RETURN x * x
|
||||
END squared;
|
||||
|
||||
|
||||
BEGIN
|
||||
s := squared(7);
|
||||
Out.Int(s, 0); Out.Ln;
|
||||
Out.Int(squared(8), 0); Out.Ln;
|
||||
END square.
|
||||
Loading…
Add table
Add a link
Reference in a new issue