SiMX Help‎ > ‎The Target Platform‎ > ‎Objects‎ > ‎TARGET Object‎ > ‎target.hash_table‎ > ‎


Platform Objects


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.  


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

This function does not return a value.


'---------- 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