From WikiChip
Difference between revisions of "mirc/commands/hfree"
m (bot: correcting title) |
m (Bot: de-linking old mIRC menu) |
||
Line 1: | Line 1: | ||
− | {{mirc title|/hfree Command | + | {{mirc title|/hfree 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. | 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 18:27, 15 June 2017
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
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