X-Git-Url: http://svarog.pmf.uns.ac.rs/gitweb/?p=mjc2wsl.git;a=blobdiff_plain;f=samples%2FArrayTest.mj;fp=samples%2FArrayTest.mj;h=a098183e1b10ae4cddfe25e53202dfff08af994d;hp=0000000000000000000000000000000000000000;hb=944dee8c2c74926e41479d3335bb003bdb60099b;hpb=d995d9ce113b413821e9187fcf4d2966d669c088 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