odd number and even numbers

william humphrey bill at bluewatermaritime.com
Mon Aug 17 15:37:42 EDT 2009


Don't kick me but what is the simple way to tell in a repeat function
x = 1 to total number
put x and x + 1
when x is even do this
or when x is odd do this


??

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



More information about the use-livecode mailing list