Is there a way to shorten this script? (100 graphics and 200 lines of text)
bobs at twft.com
Tue May 8 14:45:59 EDT 2012
Yeah just figured that out. I set the grc name to "d" & i div 2 +1 in my new script.
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
More information about the Use-livecode