From: Doni Pracner Date: Sun, 19 Jan 2014 21:16:15 +0000 (+0100) Subject: new sample for ArrayTesting X-Git-Tag: v0.1.4~19 X-Git-Url: https://svarog.pmf.uns.ac.rs/gitweb/?a=commitdiff_plain;h=944dee8c2c74926e41479d3335bb003bdb60099b;p=mjc2wsl.git new sample for ArrayTesting --- diff --git a/samples/ArrayTest.mj b/samples/ArrayTest.mj new file mode 100644 index 0000000..a098183 --- /dev/null +++ b/samples/ArrayTest.mj @@ -0,0 +1,20 @@ +program ArrayTest + int[] arr; + int i; + int max; +{ + void main(){ + max = 10; + arr = new int[max]; + i = 0; + while (i