readTable
readTable(S_fileNameo_table) =>t/nil
Description
Reads and appends the contents of a file to an existing association table.
Prerequisites
The file submitted must have been created with the writeTable function so that the contents are in a usable format.
Arguments
|
File name (either a string or symbol) from which to read the data. |
|
Value Returned
Examples
myTable = makeTable("table1")
=> table:table1
myTable2 = makeTable("table2")
=> table:table2
myTable["three"] = 3
=> 3
writeTable("table.out" myTable)
=> t
readTable("table.out" myTable2)
=> t
Related Topics
Return to top