Re: No xor!!!
Matt wrote and Ralf responded:
>>Why is there no xor operator, imp, or eqv? How do you xor stuff if
>>you don't have it???
>Eh, well, Matt, never played attention at your Science Class ? There
>you go:
>a xor b = ( a and ( not b ) ) or ( not (a) and b )
I hate it, but I must agree with Matt.
We already have some pretty useless routines, just for the sake of
completeness (object() function springs to mind). It would make more
sense to have a complete set of logical operators. Especially since
replacement routines are typically 5 to 20 times slower than their
implemented cousins. jiri
|
Not Categorized, Please Help
|
|