Yeah just figured that out. I set the grc name to "d" & i div 2 +1 in my new script.
Bob On May 8, 2012, at 11:32 AM, John Dixon wrote: > that won't work... > >> >> repeat with i = 1 to 200 step 2 >> set the backgroundcolor of grc "d1" to the text of line i of fld "in" >> set the foregroundcolor of grc "d1" to the text of line i+1 of fld "in" >> end repeat >> >> Bob _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode