On Julia version 3.4, the variable "P" also yields the same kind of error.
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 >