mirror of
https://github.com/vishapoberon/oberonbyexample.git
synced 2026-04-06 05:12:25 +00:00
post rebranding
This commit is contained in:
parent
4169aecd5b
commit
95b512baf4
66 changed files with 716 additions and 15 deletions
15
examples/procedures/procedure/Procedure.Mod.ob2
Normal file
15
examples/procedures/procedure/Procedure.Mod.ob2
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
MODULE proc;
|
||||
|
||||
|
||||
IMPORT Out;
|
||||
|
||||
|
||||
PROCEDURE printSum(a, b : INTEGER);
|
||||
BEGIN
|
||||
Out.Int(a + b, 0); Out.Ln
|
||||
END printSum;
|
||||
|
||||
|
||||
BEGIN
|
||||
printSum(6, 9)
|
||||
END proc.
|
||||
Loading…
Add table
Add a link
Reference in a new issue