Complementary RGB Color Pairs
Stephen Barncard
stephenREVOLUTION at barncard.com
Mon Feb 26 17:46:14 EST 2007
didn't know that fact about number precedence. Elegant!
>
>As always, there are multiple ways to achieve identical results -
>that's one of the interesting facets of programming. "abs(tITEM -
>255)" - as in your function above - produces the same result as "255
>- tItem", but if you put 255 in front you do not need the correcting
>workaround "abs". -- Wilhelm Sanke <http://www.sanke.org/MetaMedia>
>
--
stephen barncard
s a n f r a n c i s c o
- - - - - - - - - - - -
More information about the use-livecode
mailing list