[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: assignment inside boolean expression



In article <396B18EE.DC2E38DD@seadas.bigelow.org>, Ben Tupper <tupper@seadas.bigelow.org> wrote:

> I just spent an hour figuring out an efficient way of determining if an
> integer is odd!

IF ((ABS(i) MOD 2L) EQ 1L) THEN ... it's odd.

Ken