Navigation:  Classes > bNameArray >

bNameArray:Put()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Puts a new value into the array.

Class

bNameArray

Type

Method

Syntax

<oNameArray>:Put(

<symName>,

<uValue>

) Æ lSuccess

Arguments

<symName>The name for the value to be put. The name was defined with the method bNameArray:Add().
Data Type:Symbol

 

<uValue>The new value that is to be put to the array.
Data Type:Usual

Return Value

lSuccessA logical value that indicates whether the value was put to the array.
TRUEThe value was put.
FALSEThe value could not be put.
Data Type:Logic

Description

bNameArray:Put() puts a new value into the array. If for the name no value exists, this is added with bNameArray:Add() automatically.

 

With the method bNameArray:Exist() it can be examined whether a name already exists in the array.

See Also

bNameArray:Add()

bNameArray:Delete()

bNameArray:Exist()

bNameArray:Get()

 


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