in reply to Ouch!
in thread shortest

&1 is the logical and applying the bit mask (1). Even numbers always end with a zero bit, odd always end with a 1 bit. This is a simple test for even/odd.

Replies are listed 'Best First'.
Ouch!
by frankus (Priest) on Sep 18, 2000 at 19:58 UTC
    Yup this I get, now ... how did I get a negative posting for asking a question? Is my appraisal wrong or does someone resent the ZX spectrum colours?

    Brother Frankus.

Ouch!
by frankus (Priest) on Sep 18, 2000 at 20:02 UTC
    Yup this I get, now ... how did I get a negative posting for asking a question? Is my appraisal wrong or does someone resent the spectrum colours?

    Brother Frankus.