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

GetByKey


Platform Objects


Description

Calling target.hash_table.GetByKey will find the value associated with the specified key.

Syntax


trg.hash_table.GetByKey( key )

Key - Input the key to get the value associated with it.

Return value


This function returns whatever value is associated with the key.

Sample

'---------- Start ----------
Function Start

trg.hash_table.Add "a", 8
trg.Message( trg.hash_table.GetByKey( "a" ) )

End Function

See also