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

getSG

getSG(
g_obj
S_prop
)
=> g_propValue

Description

Evaluates and then retrieves the value of the specified attribute or property. It is a lambda implementation of getSGq().

Arguments

g_obj

Specifies the name of an object

S_prop

Specifies the name of the attribute or property for which you want to retrieve the value

Value Returned

g_propValue

The value of the property

Examples

In the following example, getSG() evaluates the tbl_list argument and then retrieves its value.

tbl_list = list( (Table 'a nil)
    Table( 'b nil)
    Table( 'c nil))
setSG( tbl_list 41 'x)
=> '(41 41 41)
getSG( tbl_list 'x)

=> '(41 41 41)

Related Topics

get


Return to top
 ⠀
X