On Monday, January 5, 2015 7:03:21 PM UTC+10, Arch Call wrote:
>
> On Julia version 3.4, the variable "P" also yields the same kind of error.
>

Yes Hex float accepts upper or lower case P its the same issue.

Cheers
Lex
 

>
> On Monday, January 5, 2015 2:44:38 AM UTC-5, Ronald L. Rivest wrote:
>>
>> I'm using Julia 0.3.4 command line.
>> Entering
>>     p = 1;  2p+1
>> gives an error:
>>
>>     *julia> p = 1; 2p+1*
>>
>> *    ERROR: syntax: malformed expression*
>>
>> whereas using a different variable name doesn't give an error
>>
>>     *julia> x = 1; 2x+1*
>>
>> *    3*
>>
>> There must be some aspect of Julia syntax I have missed??
>>
>> Thanks for any light you can shed on this...
>>
>> Cheers,
>>
>> Ron Rivest
>>
>

Reply via email to