gitweb on Svarog

projekti pod git sistemom za održavanje verzija -- projects under the git version control system
updated sample to use 'len' to test the functionality
authorDoni Pracner <quinnuendo@gmail.com>
Sat, 8 Feb 2014 12:04:33 +0000 (13:04 +0100)
committerDoni Pracner <quinnuendo@gmail.com>
Sat, 8 Feb 2014 12:04:33 +0000 (13:04 +0100)
samples/ArrayTest.mj

index a098183..c55ffd1 100644 (file)
@@ -12,7 +12,7 @@ program ArrayTest
                        i++;
                }
                i = 0;
                        i++;
                }
                i = 0;
-               while (i<max){
+               while (i<len(arr)){
                        print(arr[i],3);
                        i++;
                }
                        print(arr[i],3);
                        i++;
                }
Svarog.pmf.uns.ac.rs/gitweb maintanance Doni Pracner