save. Saving table to a file

^table.save[path]
^table.save[path;
options]
^table.save[nameless;path]
^table.save[nameless;path;
options]
^table.save[append;path]   
   [3.3.0]
^table.save[append;path;
options]   
[3.3.0]

Saves a table in a text file in tab-delimited format.
Using
nameless option will save table without columns' names.
With
append option the table will be saved with columns' names only if file doesn't exist on disk.
One can also specify saving options , see "Options of file format", allowing, for example, to save a file in
.csv format to be used in programs which understand it (Miscrosoft Excel).

Example

^conf.save[/conf/old_conf.txt]

Table
$conf will be saved in text file old_conf.txt in /conf/ directory.


Copyright © 1997–2021 Art. Lebedev Studio | http://www.artlebedev.com Last updated: 02.03.2011