You can grow arrays, but you need to use push!() to do so. You could also use an array comprehension to construct the array.
On Friday, March 21, 2014 1:07:47 PM UTC-5, Paulo Castro wrote: > > 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 >
