Hi.


Just ask yourself this"



answer testNumber mod 2


If you get a "1", testnumber is odd, if a "0", even.


Craig Newman




-----Original Message-----

From: william humphrey <[email protected]>
To: How to use LiveCode <[email protected]>
Sent: Mon, Aug 5, 2013 4:17 pm
Subject: odd and even numbers


How do you test a number to see if it is a whole odd or even number?

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to