number of colornames?

Joe Lewis Wilkins pepetoo at Cox.Net
Sun Feb 11 15:11:58 EST 2007


Hi Wayne,

I'm pretty sure that if you refer to the lines in the colornames, you  
can access them all. For example using "put the last line of the  
colornames" in the msg box returns "YellowGreen", which is probably  
the last color. Try it.

HTH,

Joe Wilkins

On Feb 11, 2007, at 11:47 AM, wayne durden wrote:

> Hi all!  I have a question regarding the colornames.  I was doing a  
> simple
> exercise with a script that was creating cards with a hundred  
> colors per
> card with a field with their name and their rgbcolor.
>
> In doing so, I have hit a headscratcher....  Putting the number of  
> lines of
> colornames() yields 552.  However, in building my cards this only  
> gets me
> into the "g's" with regard to the colors (i.e., greys, green).   
> There are
> far more colors than the number of lines of colornames?
>
> Sorry if this turns out to be a ridiculous oversight somewhere.
>
> wayne
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list