hashSet ⟨Value⟩ ⟨Key⟩ ⟨Hashname⟩ [SubHashName [...]]
Adds a value to the hash.
Parameters:
⟨Value⟩
The value to set in HashName[Key].
⟨Key⟩
The key for the value Value.
⟨HashName⟩ [SubHashName [...]]
A string that contains the name of the hash. If the hash is a sub hash of another hash, the "father
hash" name MUST BE WRITTEN FIRST, followed by the sub-hash name.
Value will be the value of the key Key in the hash HashName. For example if you have (or want to define)
hash C, which is subhash of hash B, which is subhash of hash A, and C has a key named ckey1 with value
cval1, then you should use:
hashSetcval1ckey1ABC$retvalhashGet ⟨Key⟩ ⟨HashName⟩ [SubHashName [...]]
Returns the value of Key in HashName to the $retval variable.
Parameters:
⟨Key⟩
The key that hold the value we wish to get.
⟨HashName⟩ [SubHashName [...]]
A string that contains the name of the hash. If the hash is a sub hash of another hash, the "father
hash" name MUST BE WRITTEN FIRST, followed by the sub-hash name.
Return Value:
The value of the key Key in the hash HashName. The value is returned in the variable $retval.
$retvalhashKeys ⟨HashName⟩ [SubHashName [...]]
Returns a list of keys of the hash HashName in the variable $retval.
Parameters:
⟨HashName⟩ [SubHashName [...]]
A string that contains the name of the hash. If the hash is a sub hash of another hash, the "father
hash" name MUST BE WRITTEN FIRST, followed by the sub-hash name.
Return Value:
The value of the key Key in the hash HashName. The value is returned in the variable $retval.
hashRemove ⟨Key⟩ ⟨HashName⟩ [SubHashName [...]]
Removes the key Key from the hash HashName.
⟨Key⟩
The key we wish to remove from HashName.
⟨HashName⟩ [SubHashName [...]]
A string that contains the name of the hash. If the hash is a sub hash of another hash, the "father
hash" name MUST BE WRITTEN FIRST, followed by the sub-hash name.
This function should also be used to remove a sub-hash from its "father hash". In that case, the key
will be the name of the sub-hash.
hashDelete ⟨HashName⟩ [SubHashName [...]]
Deletes the hash HashName [SubHashName [...]].
Parameters:
⟨HashName⟩ [SubHashName [...]]
A string that contains the name of the hash. If the hash is a sub hash of another hash, the "father
hash" name MUST BE WRITTEN FIRST, followed by the sub-hash name.
If this function is used on a sub-hash, a key with the name of the sub-hash will remain in its "father
hash" and will hold a NULL value.