Arrays for lists with multiple lines where item 1 is the same on N number of lines

Dick Kriesel dick.kriesel at mail.com
Fri Apr 22 05:34:00 EDT 2016


> On Apr 21, 2016, at 11:53 PM, Sannyasin Brahmanathaswami <brahma at hindu.org> wrote:
> 
> But I can’t wrap my head around the core problem: how to split a list where the first element may be repeated throughout with different values. 

How about this way?

repeat for each line t in p
    put "true" into a[ item 1 of t ][ item 2 of t ]
end repeat

— Dick



More information about the Use-livecode mailing list