julia> int32('A')
65

On Mon, Oct 20, 2014 at 10:59 PM, Sal Mangano <[email protected]> wrote:

> Here is one:
>
> *julia> **convert(Int32,'A')*
>
> *65*
>
>
> *julia> **Int32('A')*
>
> *ERROR: type cannot be constructed*
>
> On Monday, October 20, 2014 11:50:01 AM UTC-4, Ben Arthur wrote:
>>
>> are there any circumstances where int32(x) should fail and
>> convert(Int32,x) succeed?  i have a strange case of this buried inside an
>> @eval inside a module and am wondering whether it's something peculiar to
>> my situation or worth creating a minimal test case and filing a bug report.
>>  windows7, julia0.3.1.
>>
>> thanks,
>>
>> ben
>>
>

Reply via email to