append. Appending data to a table

^table.append{data}
^table.append[data]
   [3.4.0]

The method appends data to the end of the table. The
data must be provided in tab-delimited format.
The table data must have the same structure as the table to which it is appended.

Example
$stuff[^table::create{name   pos
Alexander   boss
Sergey     coder
}]
^stuff.append{
Nikolay   designer}
^stuff.
save[stuff.txt]

The example code will append a new row to the table
$stuff and save the whole table to the disk. After it, you cannot retrieve the value stored in the third column of the appended row, but it may be retrieved from the saved file stuff.txt.


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