gitweb on Svarog
projekti pod git sistemom za održavanje verzija -- projects under the git version control system
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3142793)
raw | patch | inline | side by side (parent: 3142793)
author | Doni Pracner <quinnuendo@gmail.com> | |
Sun, 5 Jan 2014 19:17:30 +0000 (20:17 +0100) | ||
committer | Doni Pracner <quinnuendo@gmail.com> | |
Sun, 5 Jan 2014 19:17:30 +0000 (20:17 +0100) |
samples/Rek1.mj | [new file with mode: 0644] | patch | blob |
diff --git a/samples/Rek1.mj b/samples/Rek1.mj
--- /dev/null
+++ b/samples/Rek1.mj
@@ -0,0 +1,11 @@
+program Rek1{
+ void func(int i){
+ print(i);
+ if (i>0)
+ func(i-1);
+ }
+
+ void main() {
+ func(5);
+ }
+}
\ No newline at end of file