On Sun, 10 May 2009, Henrique wrote:
I would like to know what the lines 2573 and 2577 of the
Brazilian
Portuguese mean (because I would like to translate them appropriately).
2573. (for logical AND, use '&&')\n
2577. (for logical OR, use '||')\n
These are explanations to the user in case he/she tries to use '&'
and '|' to mean boolean AND and OR, respectively, in the context
of a "genr" expression. At one time this usage was accepted, but
now it is necessary to use "&&" and "||"; the single forms of
these symbols are now reserved for other uses. E.g.
nulldata 10
series x = normal()
series dum1 = (x > 0 && x < 3)
series dum2 = (x > 0 & x < 3)
The definition of dum1 is correct, but the definition of dum2
produces:
series dum2 = (x > 0 &
Expected ')' but found
'&'
(for logical AND, please use "&&")
Allin.