DeleteAndRemoveFound  Array

The DeleteAndRemoveFound function finds items, then deletes objects and removes the items.

Syntax

Integer Array.DeleteAndRemoveFound(
     Pointer obj,
     Integer iStart = 0,
     Integer iEnd = -1)

Parameters

objReference to find.Required
iStartIndex of the first item.Optional
iEndIndex of the last item (excluded).
-1: Last array item (included).
Optional

Return value

The DeleteAndRemoveFound function returns the number of found items.

Example

myArray.DeleteAndRemoveFound()
SECCIA Documentation - Copyright © 2001-2009 Sylvain Seccia