Split, combine ok but where's extract?

Dick Kriesel dick.kriesel at mail.com
Fri Feb 11 21:50:33 EST 2005


On 2/11/05 5:53 PM, "Mark Wieder" <mwieder at ahsoftware.net> wrote:

> MisterX-
> 
> Friday, February 11, 2005, 9:07:06 AM, you wrote:
> 
> M> Just wondering if there is a simple way to extract the list of the second
> M> key of an array
> 
> repeat for each line theItem in the keys of array
>   put item 2 of array[theItem] after field "myField"
> end repeat
> 
> -- same obviously for item 1

if you don't want duplicates you could try

repeat for each line theItem in the keys of array
  put 1 into uniqueSecondItems[item 2 of theItem]
end repeat
put the keys of uniqueSecondItems after field "myField"




More information about the Use-livecode mailing list