Advertisement
Guest User

Untitled

a guest
Jul 12th, 2016
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. global function delete_item( object old, sequence group )
  2.    integer pos
  3.              -- Code begins --
  4.    pos = find( old, group )
  5.    if pos > 0 then
  6.        group = group[1 .. pos-1] & group[pos+1 .. $]
  7.    end if
  8.    return group
  9. end function
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement