Operators
Fabien Ninoles aka Baggus (ninf01@gel.usherb.ca)
Sat, 13 Apr 1996 07:17:55 PDT
On Fri, 12 Apr 1996, Jefferson M. Dubrule wrote:
> --- slayer@kaiwan.com wrote:
> >((!!x + !!y) =3D=3D 1)
>=20
> yeah, but that way takes as much as 3 extra ticks (varies depending on th=
e
> values for x and y), but should only be important if you're doing a long
> loop (such as evaluating for p in (players()).
> --- end of quoted material ---
>=20
> How 'bout "!x !=3D !y"?
>=20
>=20
And how about =C7x !=3D y=C8? It's what XOR have to check...
The advantage of an XOR operator against the =C7differences=C8 operator is =
on
binary data manipulation (eg: A XOR A =3D=3D 0 , use to set a register to=
=20
zero in Assembler programmation.)