Author: | k |
---|---|
Mode: | text |
Date: | Thu, 5 May 2011 20:46:57 |
0 0 0 0 0 -- 0 1 2 3 4
Author: | k |
---|---|
Mode: | text |
Date: | Thu, 5 May 2011 20:51:08 |
main() { var xs = allocateArray(Int, 5); for (i, x in enumerated(xs)) x = Int(i); freeArray(xs); xs = allocateArray(Int, 5); for (x in xs) println(x); for (i, x in enumerated(xs)) x = Int(i); println("--"); for (x in xs) println(x); freeArray(xs); }