From WikiChip
Difference between revisions of "mirc/commands/hfree"
m (Bot: Fixing compatibility) |
m (Bot: Adding a template) |
||
Line 1: | Line 1: | ||
+ | {{mIRC menu}} | ||
The '''/hfree command''' destroys a previously created hash table(s). The /hfree command destroys a previously created hash table(s). A hash table can be created via the {{mIRC|/hmake}} command. | The '''/hfree command''' destroys a previously created hash table(s). The /hfree command destroys a previously created hash table(s). A hash table can be created via the {{mIRC|/hmake}} command. | ||
Revision as of 23:16, 28 July 2014
Template:mIRC menu The /hfree command destroys a previously created hash table(s). The /hfree command destroys a previously created hash table(s). A hash table can be created via the /hmake command.
Synopsis
/hfree [-sw] <table>
Switches
- -s - Displays debug information
- -w - Treats <table> as a wildcard and deletes all matching tables.
Parameters
- <table> - the table you wish to delete.
Example
alias del_hash { ;makes the hash table 'hash' hmake hash echo -a $hget(hash) : $hget(hash).size ;makes the hash table 'h' with 10 buckets hmake h 10 ;makes the hash table 'has' with 20 buckets hmake has 20 ;deletes hash table 'hash' hfree -s hash echo -a $hget(h) : $hget(h).size - $hget(has) : $hget(has).size ;deletes any hash tables matching h* hfree -sw h* }
Compatibility
Added: mIRC v5.8
Added on: 05 Sep 2000
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.
See also
mIRC commands list