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

setSG

setSG(
g_obj
g_value
S_prop
)
=>g_propValue

Description

Evaluates and then sets the value for the specified attribute or property. It is a lambda implementation of setSGq().

Arguments

g_obj

Specifies the name of an object

g_value

Specifies the value you want to set

S_prop

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

Value Returned

g_propValue

The set value of the property

Examples

In the following example, setSG() evaluates the tbl_list argument and then sets its value.

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

Related Topics

set

setq


Return to top
 ⠀
X