Add
Description
Description
Calling target.hash_table.Add adds a key and a value to the hash table, if there is already a value under the same key the two values will be combined. If the values are integers, they will be added, if the values are strings, they will be concatenated.
Syntax
Syntax
trg.hash_table.Add( key, value )
Key - Input the key of the value you want to add.
Value - Input the value you want to add.
Return value
Return value
This function does not return a value.
Sample
'---------- Start ----------
Function Start
trg.hash_table.Add "a", 11
trg.hash_table.Add "a", 66
trg.Message( trg.hash_table.Find( "a" ) )
End Function
See also