From 944dee8c2c74926e41479d3335bb003bdb60099b Mon Sep 17 00:00:00 2001 From: Doni Pracner Date: Sun, 19 Jan 2014 22:16:15 +0100 Subject: [PATCH] new sample for ArrayTesting --- samples/ArrayTest.mj | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 samples/ArrayTest.mj 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