remove_obj — 从图标对象元组中移除对象。
remove_obj(Objects : ObjectsReduced : Index : )
remove_obj removes the elements referred by Index from
the tuple Objects and returns the rest in the tuple ObjectsReduced.
Index determines the index of the elements to remove. Note that, in
contrast to control tuples, indices for the object tuple elements start at 1,
i.e. the first tuple element has got the index 1. Duplicates and indices
out of range are ignored.
Objects (输入对象) object(-array) → object
Input object tuple.
ObjectsReduced (输出对象) object(-array) → object
Remaining object tuple.
Index (输入控制) number(-array) → (integer)
Indices of the objects to be removed.
gen_empty_obj (Images) for Index := 1 to 10 by 1 gen_image_const (Image, 'byte', Index, Index) concat_obj (Images, Image, Images) endfor remove_obj (Images, Images, [7, 4])
count_obj,
select_obj,
copy_obj,
insert_obj
基础