Uninitialized, i forgot this. Thx.

Il giorno mercoledì 30 aprile 2014 00:17:14 UTC+2, Jake Bolewski ha scritto:
>
> Renoir,
>
> Array(Int, 1) is a constructor for an uninitialized array.  The contents 
> of an uninitialized array are just what is in memory at those addresses.  
>
> On Tuesday, April 29, 2014 6:10:47 PM UTC-4, Renoir wrote:
>>
>> Hi all. Just curious for this:
>>
>> a1 = Array(Int, 1)
>> a1[1] is 0
>> a2 = Array(Int,1)
>> and a2[1] is always 0.
>> .......
>>
>> once, and only once, i get
>>
>> julia> a = Array(Int,1)
>> 1-element Array{Int64,1}:
>>  4294967296
>>
>> and a[1] was 4294967296
>>
>> why that value? I was using Julia 0.2.0
>>
>>
>> Regards
>>
>>

Reply via email to