1. xor
- Posted by jiri babor <jbabor at PARADISE.NET.NZ> Oct 28, 1998
- 390 views
- Last edited Oct 29, 1998
-- bred for speed. jiri function xor(object a, object b) return not a != not b end function
2. Re: xor
- Posted by Robert Craig <rds at EMAIL.MSN.COM> Oct 28, 1998
- 368 views
I'll add an xor keyword for the next release. Symmetry and completeness seem to demand it. Currently we have: keyword function not ... not_bits() or ... or_bits() and ... and_bits() ??? ... xor_bits() I don't expect that xor will be used much. I guess this has something to do with the nature of the logic, and something to do with our lack of a common word for "xor" in English and other human languages. Regards, Rob Craig Rapid Deployment Software http://members.aol.com/FilesEu/
3. Re: xor
- Posted by "Carl R. White" <C.R.White at SCM.BRAD.AC.UK> Oct 29, 1998
- 377 views
On Wed, 28 Oct 1998, Robert Craig wrote: > I'll add an xor keyword for the next release. > Symmetry and completeness seem to demand it. > I don't expect that xor will be used much. > I guess this has something to do with the nature of > the logic, and something to do with our lack of a > common word for "xor" in English and other human languages. But we do. We use "or" to mean "xor" in English. e.g.: "You may have the Ice-Cream _or_ the Candy-Floss." This quite obviously means "one _or_ the other, but not both". Which is the definition for "xor"... :) What we don't have is an equivalent for the logical "or"! -- Carl R White -- Final Year Computer Science at the University of Bradford E-mail...: cyrek- at -bigfoot.com -- Remove the hyphens before mailing. Ta :) URL......: http://www.bigfoot.com/~cyrek/ Ykk rnyllaqur rgiokc cea nyemdok ymc giququezka caysgr -- B.Q.Vgesa