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