RP> RP> IF Number% AND 1 THEN 'odd
RP> BW> And then there is
RP> BW> IF Number% MOD 2 THEN
RP> Yeah, I hadn't thought of that one (I wonder which is faster?).
RP> [later] AND, by more than 3x :)
If I remember correctly, Number%/2 will bring in
the floating-point module. I don't know if MOD does or
not. I believe AND doesn't. A simple bit-wise
comparison should be the fastest at the machine level.
FIDO: Bill White @ 1:135/110 (Miami)
InterNet: bill.white@110.sunshine.com
* SLMR 2.1a * I wasn't born a fool, it took hard work to get this way!
--- Maximus 2.01wb
---------------
* Origin: Miami Amateur Computer Club BBS/USR Courier V.E (1:135/110)
|