Dňa 27. 11. 2010 20:01, Jakub Husak wrote / napísal(a):
>
> On Nov 27, 3:58 pm, rudla<rudla.ku...@gmail.com> wrote:
>> Atalan currently uses AND and OR for both logical and binary
>> operators.
>>
>> This however does not work very well in conditions.
>>
>> if a = 5 and 7 then ...
>>
>> should be binary operator but
>>
>> if a = 5 and 7 = b then ....
>>
>> should be logical operator.
>>
>> This however does not parse well. It is necessary to rename binary
>> operators to something else.
>>
>> XOR will probably remain same.
>>
>> We can use C-like operators&, |.
>> Or longer, but named BITAND, BITOR.
> IMHO BITAND and BITOR is simplest and clearest solution. In C we have
> & and&&, so here we can have AND and BITAND.