Gets all the keys of an SRP Hash Table in no particular order.

Syntax

KeyList = SRP_HashTable_GetKeys(Handle, Delim)

Returns

A delimited list of the keys stored in the hash table

Parameters

ParameterDescription
HandleHandle to an existing SRP Hash Table (REQUIRED)
DelimDelimiter to insert between keys (OPTIONAL, @FM by default)

Remarks

The SRP_HashTable_GetKeys returns all the keys stored in the hash table as a delimited list. The list will be delimited by the character you pass through the Delim parameter. If you omit the Delim parameter, then the list will be delimited by field marks.

IMPORTANT: You should always release the handle to an SRP Hash Table when you no longer need it by calling SRP_HashTable_Release.

Examples

// Get the keys delimited by field marks
KeyList = SRP_HashTable_GetKeys(Handle)

// Get the keys delimited by commas
KeyList = SRP_HashTable_GetKeys(Handle, ",")
  • No labels