Hmmm, I'd tried it on v0.4.7, and the second one did work, I'm surprised it 
failed in v0.4.5.
To get the latest: http://julialang.org/downloads/

On Monday, October 17, 2016 at 8:54:12 AM UTC-4, Sujoy Datta wrote:
>
> he 
> Thank you, Tim and Scott. I am using version 0.4.5 and both of these 
> methods are not working.Good to know in the latest version, this can be 
> done.
> Anyway, I just found that while adding, the bits becomes numbers, so, I 
> did this (soo.bad trick,I think):
> x=BitArray(falses(20,8))
> y=x+false
>
> By the way, how can I get the newest version? I downloaded this version 
> through Synaptic.
>
>
>
> On Monday, October 17, 2016 at 3:01:53 PM UTC+5:30, Sujoy Datta wrote:
>>
>>
>>
>> I am a new user of Julia. Please help me to convert a nxm BitArray to an 
>> nxm IntegerArray.
>> What I want is to print 1 for 'true' and 0 for 'false'.
>> Thank you in advance.
>>
>

Reply via email to