Reputation: 2184
When I try to use the xor operator:
if(a ^ b)
I get the following error:
internal Error: unimplemented binary operator
Is there another way to do it in beanshell, or should I just do:
if((a && !b) || (!a && b))
Upvotes: 2
Views: 901
Reputation: 1312
In Beanshell2 the xor operator is implemented, see http://code.google.com/p/beanshell2
Upvotes: 2