Hi Bill,

How about:

if (A XORNOT B) then something

XORNOT is a logical comparison testing for equality basically...

Phil.