Hsave » History » Version 7
Per Amundsen, 01/04/2019 09:18 PM
1 | 1 | Per Amundsen | _Added in 1.9.0_ |
---|---|---|---|
2 | |||
3 | 5 | Per Amundsen | */hsave [-abBinsu] <name> <filename> [section]* |
4 | 1 | Per Amundsen | |
5 | 2 | Per Amundsen | Saves a hash table to a file. |
6 | 1 | Per Amundsen | |
7 | 7 | Per Amundsen | _See also [[/hload]], [[/hmake]], [[/hfree]], [[/hadd]], [[/hdel]], [[$hget]], [[$hfind]]._ |
8 | |||
9 | 1 | Per Amundsen | *Switches* |
10 | |||
11 | -s = Displays the result. |
||
12 | 6 | Per Amundsen | -b - Saves binary files. ]]$cr]] and ]]$lf]] are preserved when saving as binary files. Ignored if -i switch used. |
13 | -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. |
||
14 | 1 | Per Amundsen | -i = Treats the file as an ini file. You can specify an optional section name after the filename. |
15 | -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. |
||
16 | -a = Appends to an existing file instead of overwriting it. |
||
17 | -u = Includes unset items. |
||
18 | |||
19 | *Parameters* |
||
20 | |||
21 | 3 | Per Amundsen | <name> - The hash table to save. |
22 | 1 | Per Amundsen | <filename> - The filename to save to. |
23 | [section] - Section of ini tile to save to. (used witth -i) |