Tha's interesting. I think you have to use delete.. of instead
delete.... from . To me this is correct.
put "1,2,3,4,5,6" into theNumbers
repeat until theNumbers is empty
put any item theNumbers into n
put n after theNumberList
delete item (itemOffset(n, theNumbers)) of theNumbers
end repeat
put theNumberList
All the best. Paolo