Oops!  Mea Culpa!  I generally avoid posting to the list because as in this
case, I almost always have done something in error and enough googling or
just some time away usually yields the answer.

This time I had convinced myself that something bizarre must be happening
along the lines of the array with same key thing...

It turns out it is an error in my looping.  As I am writing 4 columns of 25
fields on a card, I had 3 nested repeats and as I have done in the past I
set up the loop wrong so that I was creating dupes directly multiplying some
of the repeat vars instead of multiplying by a column and adding.  I
overlooked the repeated fields as dupes because the colors already had
numerical variations like steelblue1, steelblue2, etc...

It was tedious to track down because I was also using the screenmouseloc
keying off those repeat variables to get the rgbcolor and those lines helped
obscure the simple mistake...

I am so sorry Mark, Joe, Richard, et al... I truly appreciate the time you
took to answer.  Hopefully, I will have some to contribute to others in the
near future.  I have been a long time hypercard user, although for the last
several years I have been a realbasic user on the PC.  I have discovered
that there are a good number of problems that runrev can solve for me in
much much less time.  It is a love/hate relationship at times though.... :)

Thanks again all!

Wayne



On 2/11/07, Jim Ault <[EMAIL PROTECTED]> wrote:


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" <[EMAIL PROTECTED]> 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()"?
>


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to