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

putprop

putprop( 
sl_id 
g_value 
S_name 
) 
=> g_value

Description

Adds properties to symbols or disembodied property lists.

If the property already exists, the old value is replaced with a new one. The putprop function is a lambda function, which means all of its arguments are evaluated. However, putprop has no infix operator syntax.

Arguments

sl_id

Symbol or disembodied property list.

g_value

Value of the named property.

S_name

Name of the property.

Value Returned

g_value

The value of the named property.

Examples

Sets the property x on symbol s to 3.

putprop('s 1+2 'x) 
=> 3

Related Topics

get

putpropq

putpropqq


Return to top
 ⠀
X