Think its taking 2p+1 as a malformed hex float literal

Cheers
Lex

On Monday, January 5, 2015 5:44:38 PM UTC+10, 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