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

putpropqq

putpropqq( 
s_id 
g_value 
S_name 
) 
=> g_value
s_id.S_name = g_value 
=> g_value

Description

Adds properties to symbols. Identical to putprop except that sl_id and S_name are not evaluated. If the property already exists, the old value is replaced with a new one.

putpropqq corresponds to . = as an assignment operator. So, obj.prop = value is equivalent to putpropqq(obj value prop).

Arguments

s_id

Can only be a symbol.

g_value

Value of the named property.

S_name

Name of the property.

Value Returned

g_value

Value of the named property.

Examples

Both examples are equivalent expressions that set the property x on symbol s to 3.

putpropqq(s 1+2 x)    
=> 3
s.x = 1+2             
=> 3

Related Topics

get

putpropq

putpropq

Mapping Symbols to Values


Return to top
 ⠀
X