number of colornames?

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


Hi again,

If you'll put this into a locked scrolling field, it should put all  
of the names into the field:

repeat with i = 1 to 552
     put line i of the colorNames into line i of me
end repeat

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