2011-06-07 12 views

cevap

13

Bir sayacı tanıtmak ve döngü içinde her yineleme ile güncelleyebilirsiniz ya:

set counter to 0 
repeat with the_item in my_list 
    set counter to counter + 1 
    -- do stuff 
end repeat 

veya different loop form kullanın:

repeat with n from 1 to count of my_list 
    -- do stuff with (item n of my_list) 
end repeat 
+0

Kırık linki? Apple desteğine yönlendirir. –