op =#()
oop =#() ---有重名的数组
for i in 1 to selection .count do
(
if ( findItem op selection[i].name)==0 then
(
append op selection[i].name
)else
(
append oop selection[i]
)
)
---下来直接对数组操作
select oop or delete oop
op =#()
oop =#() ---有重名的数组
for i in 1 to selection .count do
(
if ( findItem op selection[i].name)==0 then
(
append op selection[i].name
)else
(
append oop selection[i]
)
)
---下来直接对数组操作
select oop or delete oop