$num
Posted by Othello
Sunday, December 18, 2005
Description: Returns ODD or EVEN for the number you provide.

alias num { return $iif($chr(46) isin $calc($$1 / 2),ODD,EVEN) }
Or...
Posted by Rustynails
Monday, December 19, 2005 03:46pm PST
alias num { return $iif($calc($1- % 2) == 0,even,odd) }
Or......
Posted by billyc
Friday, January 27, 2006 07:55pm PST
alias num { return $iif($calc($1- % 2),odd,even) }
Or....
Posted by jaytea
Saturday, September 16, 2006 04:17pm PDT
alias num return $iif($1 & 1,even,odd)

yes, i spent over a year developing that, it's finally ready for release!
Submit a comment
Oops! You need to login or register before you can post a comment!

ebaum's world