OOH, I like Jacque's answer - THERE's one that just smacks other languages in the jaw - the only thing I might do is get rid of the commas - can't you do if the last char of x is in "02468"?
I like Paul's, too. That demonstrates a bit of power in the language. On Mon, Aug 5, 2013 at 4:44 PM, Richmond <richmondmathew...@gmail.com>wrote: > On 08/05/2013 11:17 PM, william humphrey wrote: > >> How do you test a number to see if it is a whole odd or even number? >> > > Probably try and divide it by 2 and see if there is a remainder. > > That's what Miss Neville taught me when I was 6. > > Richmond. > > > ______________________________**_________________ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode<http://lists.runrev.com/mailman/listinfo/use-livecode> >> > > > ______________________________**_________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode<http://lists.runrev.com/mailman/listinfo/use-livecode> > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode