RemoveFound  Array

The RemoveFound function finds the specified item and removes it from the list.

Syntax

Integer Array.RemoveFound(
     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 RemoveFound function returns the number of removed items.

Example

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