Purpose
Adds a new value to the array.
Class
Type
Method
Syntax
<oNameArray>:Add(
<symName>,
<uValue>
) Æ lSuccess
Arguments
<symName> | The name of the value. With the name can be accessed to the value. |
Data Type: | Symbol |
<uValue> | The value that is to be added the array. |
Data Type: | Usual |
Return Value
lSuccess | A logical value that indicates whether the value was added to the array. |
TRUE | The value was added. |
FALSE | The value could not be added. |
Data Type: | Logic |
Description
bNameArray:Add() adds a new value to the end of the array.
The method examines whether a value with the specified name already exists in the array. If it is so, the method returns with the value FALSE.
With the method bNameArray:Exist() it can be examined whether in the array exist a value to a name.
See Also
Page url: http://www.YOURSERVER.com/index.html?bnamearray_add.htm