objarray remove <obj> <index_start> ?<index_end>?
Remve the block from index_start to index_end
<obj> the objarray to be modified
<index_start> <index_end> integer indices of the block to be replaced. If <index_end> is missing only 1 item is removed
Warning: the values of <obj> itself are modified, without creating another copy of the object
e.g.
set obj [objarray new_from_to intarray 1 12] -> 1 2 3 4 5 6 7 8 9 10 11 12 objarray remove $obj 4 -> obj = {1 2 3 4 6 7 8 9 10 11 12} objarray remove $obj 4 6 -> obj = {1 2 3 4 9 10 11 12}