tableToList
tableToList(o_table) =>l_assoc_list
Description
Converts the contents of an association table to an association list. Use this function interactively to look at the contents of a table.
This function eliminates the efficiency that you gain from referencing data in an association table. Do not use this function for processing data in an association table. Instead, use this function interactively to look at the contents of a table.
Arguments
Value Returned
|
Association list containing key/value pairs from the association table. |
Examples
myTable = makeTable( "table" 0)
=> table:table
myTable[ "first"] = 1
=> 1
myTable[ 'two] = 2
=> 2
tableToList(myTable)
=> ((two 2)("first" 1))
Related Topics
Return to top