Purpose
Adds a new item to the list.
Class
Type
Method
Syntax
<oItemList>:Add(
<oItem>,
[<iPosition>]
) Æ lSuccess
Arguments
<oItem> | The item that is to be added the list. |
Data Type: | Object |
<iPosition> | The position at which the item is to be inserted in the list. The value 0 is used as default. This indicates that the item is added at the end of the list. |
Data Type: | Integer |
Return Value
lSuccess | A logical value that indicates whether the item was added to the list. |
TRUE | The item was added. |
FALSE | The item could not be added. |
Data Type: | Logic |
Description
bItemList:Add() adds a new item to the end of the list.
The method does not examine whether the item already exists in the list. If it is to be avoided that an item is added to the list several times, must be examined this before by the method bItemList:Exist().
See Also
Page url: http://www.YOURSERVER.com/index.html?bitemlist_add.htm