number of colornames?
Jim Ault
JimAultWins at yahoo.com
Sun Feb 11 18:48:55 EST 2007
Looking at the stack "color names reference", there are
37*15 tiles which is 555 and the colornames() yields 552.
Their may be 3 dups in a few color runs.
What are you looking at the show "2000+" names?
Are the lines of your list sorted alphabetically or random?
Are the names for each I unique?
Could you please post the loop you are using to iterate and not getting the
sensible answers?
Jim Ault
Las Vegas
On 2/11/07 2:11 PM, "wayne durden" <wdurden at gmail.com> wrote:
> I don't want to beat a dead horse or belabor a point, but:
> the number of lines of colornames() returns 552
> however as I iterate through the lines using something like
> line i of colornames()
> by the time I am at 552 I am nowhere near the end...
>
> I realize what is probably going on is that there are often 4 or so
> variations on a single name like firebrick, firebrick1, etc.
>
> What is confusing is why the "number of lines" and "line i of" aren't in
> agreement. And assuming I do want to get all of the variations, how should
> I set up the loop other than "repeat with i=1 to the number of lines of
> colornames()"?
>
More information about the use-livecode
mailing list