When is a color not a color

Ralph DiMola rdimola at evergreeninfo.net
Fri Jun 7 21:57:08 EDT 2013


Pete,

Isn't the 4th number the alpha channel? 

Ralph DiMola
MIS Director 
Evergreen Information Services
rdimola at evergreeninfo.net

-----Original message-----
From: Peter Haworth <pete at lcsql.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Fri, Jun 7, 2013 22:08:21 GMT+00:00
Subject: When is a color not a color

Having an issue with using "is a color"

put "20,40,100,200" into tVar
put tVar is a color

...returns true.  I thought that color references were either three
numbers, a hex value, or a color name.

If there is a valid color reference consisting of 4 numbers, it seems
there's a conflict between that an "is a rect".

Pete
lcSQL Software <http://www.lcsql.com>
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription  
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list