A single integer is also true with "1" is a color also. The dictionary says if it sees an integer it returns true to maintain compatibility with supercard. Methinks the matching is still a bit loose. Works fine with hex designation though.
put "#ffffff" is a color returns true as expected, and put "#gggggg" returns false also as expected. So, avoid integers and use hex format to bipass the issue. On Fri, Jun 7, 2013 at 11:54 PM, J. Landman Gay <jac...@hyperactivesw.com>wrote: > On 6/7/13 8:57 PM, Ralph DiMola wrote: > >> Pete, >> >> Isn't the 4th number the alpha channel? >> > > That was my first thought too until the engine told me that > "1,2,3,456,78,2013" was also a color. Seems it not only ignores the number > ranges, but it only looks to see if there are (at least) 3 items. > > -- > Jacqueline Landman Gay | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > ______________________________**_________________ > 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