Remove an item from the list (given the key).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(list), | intent(inout) | :: | me | |||
| class(*), | intent(in) | :: | key |
subroutine remove_by_key(me,key) implicit none class(list),intent(inout) :: me class(*),intent(in) :: key type(node),pointer :: p call me%get_node(key,p) call me%remove_by_pointer(p) end subroutine remove_by_key