Purge hash table.
purge-hash deletes all key/value pairs from <hash> table that was created with new-hash
After purge-hash, the hash is empty and you can use it without calling new-hash
again. Note however, that "average-reads"
statistics (see get-hash
) is not reset - it keeps being computed and remains for the life of the hash.
Create hash, put some data in it and then purge the data:
new-hash h size 100
write-hash h key "mykey" value "myvalue"
for more examples.
Copyright (c) 2022 DaSoftver LLC. Vely is a trademark of Dasoftver LLC. The software and information herein are provided "AS IS" and without any warranties or guarantees of any kind. Vely elephant logo (c) 2022 DaSoftver LLC. This web page is licensed under CC-BY-SA-4.0