Why can you not create an empty array?
It might not be totally obvious, but `a = []` creates a special array, that
can store nothing. You might have better success with specifying a type `a
= Any[]`, or use the special Array{Any,1} syntax `a = {}`.
kl. 19:07:47 UTC+1 fredag 21. mars 2014 skrev Paulo Castro følgende:
>
> Hi,
>
> I am starting using Julia, and I'm having a simple problem. I have some
> images on a directory, and I want to iterate over each one, open it with
> Images' imread(), and store it on an array.
> I cannot create a empty array and append images to it. How can I achieve
> this?
>
> Thanks,
>
> Paulo
>