Navigation:  Classes > bItemList >

bItemList:Put()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Put a new item into the list.

Class

bItemList

Type

Method

Syntax

<oItemList>:Put(

<iItem>,

<oItem>

) Æ lSuccess

Arguments

<iItem>Index of the item that is to be put in the list.
Data type:Integer

 

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

Return Value

lSuccessA logical value that indicates whether the item was put to the list.
TRUEThe item was put.
FALSEThe item could not be put.
Data type:Logic

Description

bItemList:Put() puts an item into the list.

 

The method does not examine whether the item already exists in the list. If multiple copiesare to be avoided, the list should be examined with the method bItemList:Exist().

See Also

bItemList:Add()

bItemList:Delete()

bItemList:Exist()

bItemList:Get()

 


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