[comp.os.vms] xor primative in lisp

saganich%frodo.DECnet@MGHCCC.HARVARD.EDU ("FRODO::SAGANICH") (03/11/88)

HI Infovaxers,
	I am using a lisp compiler running commonlisp and I need
to do an exclusive or.  Does anyone know if there is an xor primative.
I don't have access to the manuals ans so being told to look there is
no help.  If there is no primative has someone done this before?  If so
could you send me the code?

Thanks

Al Saganich
saganich%frodo.decnet@mghccc.harvard.edu -internet

or

saganich%frodo.decnet%mghccc@husc6.bitnet
------

GG.SPY@ISUMVS.BITNET ("John Hascall") (03/11/88)

Sorry, if this is not of general interest, but someones brain-dead
mailer along the way prevented a direct reply....

From: GG.SPY@ISUMVS.BITNET
Date:      Fri, 11 Mar 88 08:43:19 CST
To: <SAGANICH%FRODO.DECNET%MGHCCC@husc6>
Subject:   Re: xor primative in lisp

> From:         "FRODO::SAGANICH" <saganich%frodo.decnet@mghccc.harvard.edu>
> Subject:      xor primative in lisp
>
> HI Infovaxers,
>     I am using a lisp compiler running commonlisp and I need
> to do an exclusive or.  Does anyone know if there is an xor primative.
> I don't have access to the manuals ans so being told to look there is
> no help.  If there is no primative has someone done this before?  If so
> could you send me the code?
>
> Thanks
>
> saganich%frodo.decnet%mghccc@husc6.bitnet
> ------

    I believe what you want is:

       (logxor int1 int2)

John Hascall
Iowa State University Computation Center
GGUUU@ISUMVS.BITNET