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 a098183e1b10ae4cddfe25e53202dfff08af994d..c55ffd19fbabf570d205cd289cb114f3f6d329e0 100644 (file)
@@ -12,7 +12,7 @@ program ArrayTest
                        i++;
                }
                i = 0;
-               while (i<max){
+               while (i<len(arr)){
                        print(arr[i],3);
                        i++;
                }
Svarog.pmf.uns.ac.rs/gitweb maintanance Doni Pracner