<< Click to Display Table of Contents >> Navigation: ThinBASIC Core Language > Data Structures > Hash Table > Hash_Set |
Description
Add a key/data pair to an Hash Table container
Syntax
Hash_Set(pHash, sKey, sData)
Returns
Nothing
Parameters
Name |
Type |
Optional |
Meaning |
pHash |
Number |
No |
Handle of a Hash Table returned by Hash_New |
sKey |
String |
No |
Unique key |
sData |
String |
No |
Data to be associated to sKey. |
Remarks
Value is replaced if Key already exists
Restrictions
sKey is case sensitive.
sKey cannot contains nulls
See also
Examples