UBound

Description

Calling target.hash_table.UBound will get the number of entries in the hash table.

Syntax

trg.hash_table.UBound()

Return value

This function returns the number of entries in the hash table.

Sample

'---------- Start ----------

Function Start

Dim value

trg.hash_table.Add "a", 8

trg.hash_table.Add "b", 11

for i = 0 to trg.hash_table.UBound()

value = trg.hash_table.GetByIndex( i, "a" )

trg.Message( value )

next

End Function

See also