odd number and even numbers

Mark Wieder mwieder at ahsoftware.net
Mon Aug 17 15:50:49 EDT 2009


william-

Monday, August 17, 2009, 12:37:42 PM, you wrote:

> I started using mod and all kinds of weird math and I know there must be a
> simple way.

if x mod 2 is 1 then
 put "I'm odd"
else
 put "I'm even"
end if
 
-- 
-Mark Wieder
 mwieder at ahsoftware.net




More information about the Use-livecode mailing list