Product Documentation
Cadence SKILL Language Reference
Product Version IC23.1, November 2023

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

o_table

Association table to be converted.

Value Returned

l_assoc_list

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

Type Conversion Functions

vectorToList


Return to top
 ⠀
X