Hmake » History » Revision 2
Revision 1 (Per Amundsen, 02/12/2014 02:21 PM) → Revision 2/5 (Per Amundsen, 01/17/2018 07:16 PM)
_Added in 1.9.0_ */hmake [-s] <name> <N>* Creates a new hash table with N slots. *Switches* -s - Displays a creation result. resulr. *Parameters* <name> - The hashtable name to create. <N> - The initial number of hashtable items. *Example* ; call the setup once ; /example ; ; //echo -a $abbr(lol) ; alias example { ;Create the table. /hmake abbr 1000 ;Populate the table. /hadd abbr lol laughing out load /hadd abbr omg oh my gosh /hadd abbr lmao laughing my a?? off /hadd abbr brb be right back } ; get the abbreviation alias abbr return $hget(abbr, $1)