Product Documentation
Virtuoso Studio Design Environment SKILL Reference
Product Version IC23.1, November 2023

dbGetMemName

dbGetMemName( 
t_name 
x_index 
) 
=> t_memName 

Description

Retrieves the name of the x_index member from t_name.

The members are numbered in increasing order from left to right starting from zero. The name defined by t_name is parsed according to the syntax rules of net and terminal names (of which instance names is a subset). If no errors occur during parsing and the name is valid, a string defined by t_memName is returned that corresponds to the nth member defined in the name (where n is x_index). In case of an error, the member name returned is composed of t_name suffixed by <x_index>.

Arguments

t_name

Name string adhering to the net, terminal, or instance name syntax.

x_index

Integer representing member to retrieve.

Value Returned

t_memName

The name of the x_index member from t_name. In case of an error, the member name returned is composed of t_name suffixed by <x_index>.

Example

In the following example, member 0 refers to one<2>, member 1 refers to one<3>, and member 2 refers to four<5>.

memName = dbGetMemName("one<2:3>,four<5>" 2)

Related Topics

Connectivity Access Functions


Return to top
 ⠀
X