post rebranding

This commit is contained in:
Antranig Vartanian 2024-05-11 19:17:23 +04:00
parent 4169aecd5b
commit 95b512baf4
No known key found for this signature in database
GPG key ID: DE3998662D59F21C
66 changed files with 716 additions and 15 deletions

View file

@ -0,0 +1,10 @@
VOC = /opt/voc/bin/voc
all:
$(VOC) -m Procedure.Mod
clean:
rm *.c
rm *.h
rm *.o
rm *.sym

View 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.

View 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.