From WikiChip
Editing mirc/commands/hfree

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

This page supports semantic in-text annotations (e.g. "[[Is specified as::World Heritage Site]]") to build structured and queryable content provided by Semantic MediaWiki. For a comprehensive description on how to use annotations or the #ask parser function, please have a look at the getting started, in-text annotation, or inline queries help pages.

Latest revision Your text
Line 1: Line 1:
{{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 [[/hmake command - mIRC|/hmake]] command.
The '''/hfree''' command destroys previously created hash table(s) along with all item/data pairs within them. A hash table can be created via the {{mIRC|/hmake}} command.
+
 
 
== Synopsis ==
 
== Synopsis ==
 
  /hfree [-sw] <nowiki><table></nowiki>
 
  /hfree [-sw] <nowiki><table></nowiki>
 +
 
== Switches ==
 
== Switches ==
 
* '''-s''' - Displays debug information
 
* '''-s''' - Displays debug information
* '''-w''' - Treats <nowiki><table></nowiki> as a {{mirc|wildcard}} and deletes all matching tables.
+
* '''-w''' - Treats <nowiki><table></nowiki> as a wildcard and deletes all matching tables.
 +
 
 
== Parameters ==
 
== Parameters ==
 +
 
* '''<nowiki><table></nowiki>''' - the table you wish to delete.
 
* '''<nowiki><table></nowiki>''' - the table you wish to delete.
 +
 
== Example ==
 
== Example ==
 
<syntaxhighlight lang="mIRC">alias del_hash {
 
<syntaxhighlight lang="mIRC">alias del_hash {
Line 24: Line 28:
 
}</syntaxhighlight>
 
}</syntaxhighlight>
  
<source lang="mIRC">
+
== Compatibility ==
//hfree -s test | hfree -s test | echo -a test message
+
Added: mIRC v5.8
* When not using the -w switch, trying to free a non-existent table is an error which halts execution of a script, so the echo does not display
 
  
//hfree -sw test | hfree -sw test | echo -a test message
+
Added On: 05/09/2000
* Using the -w switch allows deleting zero tables matching the wildcard, enabling the echo to display.
+
 
</source>
+
 
 +
 
 +
<small>Note: Individual switches were not taken into consideration.</small>
  
== Compatibility ==
 
{{mIRC compatibility|5.8}}
 
 
== See also ==
 
== See also ==
* {{mIRC|/hmake}}
+
* [[List of commands - mIRC|List of commands]]
* {{mIRC|/hload}}
+
* [[List of identifiers - mIRC|List of identifiers]]
* {{mIRC|/hsave}}
+
* [[$hfind identifier - mIRC|$hfind]]
* {{mIRC|Hash Tables}}
+
* [[$hget identifier - mIRC|$hget]]
* {{mIRC|/hadd}}
+
* [[/hadd command - mIRC|/hadd]]
* {{mIRC|/hdel}}
+
* [[/hdec command - mIRC|/hdec]]
* {{mIRC|/hinc}}
+
* [[/hdel command - mIRC|/hdel]]
* {{mIRC|/hdec}}
+
* [[/hinc command - mIRC|/hinc]]
* {{mIRC|$hget}}
+
* [[/hload command - mIRC|/hload]]
* {{mIRC|$hfind}}
+
* [[/hmake command - mIRC|/hmake]]
 +
* [[/hsave command - mIRC|/hsave]]
 +
 
 +
[[Category:mIRC commands]]

Please note that all contributions to WikiChip may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see WikiChip:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)