Product Documentation
Virtuoso ADE SKILL Reference
Product Version IC23.1, November 2023

sevReadTable

sevReadTable(
x_stateHandle
S_componentName
o_table
)
=> t / nil

Description

Returns the component table from the specified XML state file.

Arguments

x_stateHandle

The handle of a state file.

This can be any integer value.

S_componentName

Name of the XML component whose value you want to read from the table.

o_table

Table that contains the information about the specified component.

Value Returned

t

The component table is returned from the specified XML state file.

nil

Indicates an error.

Examples

Reads the component table for a given XML state file.

stateFile = strcat(directory "/xml.state")
stateHandle = sevOpenXmlFile(stateFile)
//The above commands return the handle for the XML state file.
table = makeTable('tableformat nil)
//The above command creates a table.
sevReadTable(stateHandle "analyses" table)
// The above command reads the value of the component analyses from the given table for the specified XML state file handle.

Return to top
 ⠀
X