Hload » History » Version 8
Per Amundsen, 02/16/2023 12:44 PM
1 | 1 | Per Amundsen | _Added in 1.9.0_ |
---|---|---|---|
2 | |||
3 | 3 | Per Amundsen | */hload [-bBins] <name> <filename> [section]* |
4 | 1 | Per Amundsen | |
5 | Loads a table from a file. |
||
6 | |||
7 | 5 | Per Amundsen | _See also [[/hsave]], [[/hmake]], [[/hfree]], [[/hadd]], [[/hdel]], [[$hget]], [[$hfind]]._ |
8 | 4 | Per Amundsen | |
9 | 1 | Per Amundsen | *Switches* |
10 | |||
11 | 8 | Per Amundsen | table(ktable). |
12 | |*Switch*|*Description*| |
||
13 | | -b | Loads binary files. [[$cr]] and [[$lf]] are preserved when saving as binary files. Ignored if -i switch used. | |
||
14 | | -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. | |
||
15 | | -i | Treats the file as an ini file. You can specify an optional section name after the filename. | |
||
16 | | -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. | |
||
17 | | -m | Creates the table if it does not exist. *(AdiIRC only)* | |
||
18 | | -s | Displays the result. | |
||
19 | 6 | Per Amundsen | |
20 | 1 | Per Amundsen | *Parameters* |
21 | |||
22 | 8 | Per Amundsen | table(ktable). |
23 | |*Parameter*|*Description*| |
||
24 | | <name> | The hashtable to load into. | |
||
25 | | <filename> | The filename of the saved hashtable to load. | |
||
26 | | [section] | Hashtable file section to load. | |