Remove an item from the list.
Source position: fgl.pp line 161
| public function TFPGList.Remove( | 
| const Item: T | 
| ):Integer; | 
| Item | 
 | Item to remove from the list. | 
Index of the removed item.
Remove removes the item Item from the list, and returns the index of the removed item. If no item was removed, -1 is returned. Only the first item is removed.
None.
| 
 | Index of item. |