Navigation:  Classes > bItemList >

bItemList:Add()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Adds a new item to the list.

Class

bItemList

Type

Method

Syntax

<oItemList>:Add(<oItem>) Æ lSuccess

Arguments

<oItem>The item that is to be added the list.
Data type:Object

Return Value

lSuccessA logical value that indicates whether the item was added to the list.
TRUEThe item was added.
FALSEThe 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

bItemList:Delete()

bItemList:Exist()

bItemList:Get()

bItemList:Put()

 


Page url: http://www.YOURSERVER.com/index.html?bitemlist_add.htm