Project

General

Profile

Hload » History » Revision 7

Revision 6 (Per Amundsen, 12/14/2019 09:39 AM) → Revision 7/8 (Per Amundsen, 10/31/2022 12:18 PM)

_Added in 1.9.0_ 

 */hload [-bBins] <name> <filename> [section]* 

 Loads a table from a file. 

 _See also [[/hsave]], [[/hmake]], [[/hfree]], [[/hadd]], [[/hdel]], [[$hget]], [[$hfind]]._ 

 *Switches* 

 -b - Loads binary files. [[$cr]] ]]$cr]] and [[$lf]] ]]$lf]] are preserved when saving as binary files. Ignored if -i switch used. 
 -B - Uses a larger index than -b to allow longer binary data to be saved. This is not compatible with files created by the -b switch. 
 -i - Treats the file as an ini file. You can specify an optional section name after the filename. 
 -n - Load file as data only, with no items. When loading with -n each line of data is assigned an N item value, starting at N = 1. 
 -m - Creates the table if it does not exist. *(AdiIRC only)* 
 -s - Displays the result. 

 *Parameters* 

 <name> - The hashtable to load into. 
 <filename> - The filename of the saved hashtable to load. 
 [section] - Hashtable file section to load.