From WikiChip
Difference between revisions of "mirc/commands/hfree"
< mirc‎ | commands

m (bot: sort-key added to category)
m (PatrolBot moved page /hfree command - mIRC to mirc/commands/hfree: per new naming convention)
(No difference)

Revision as of 01:26, 13 August 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

[Expand]
v · d · e mIRC commands list