Procedure from library general.lib (see general_lib).
general.lib
deleteSublist(v,l); intvec v; list l where the entries of the integer vector v correspond to the positions of the elements to be deleted
list without the deleted elements
Example:
LIB "general.lib"; list l=1,2,3,4,5; intvec v=1,3,4; l=deleteSublist(v,l); l; → [1]: → 2 → [2]: → 5