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

getqq

getqq( 
s_id 
S_name 
) 
=> g_result / nil
sl_id.S_name 
=> g_result / nil

Description

Returns the value of a property in a symbol’s property list. Same as get except that neither argument is evaluated. This is a syntax form.

getqq corresponds to . as an LHS infix operator. So, obj.prop is equivalent to getqq(obj prop).

Used in conjunction with putprop, where putprop stores the property and getqq retrieves it.

Arguments

s_id

Symbol to get a property from.

S_name

Name of the property you want the value of.

Value Returned

g_result

Value of the property S_name in the property list of s_id.

nil

The named property does not exist.

Examples

putprop( 'chip 8 'pins ) 
=> 8

Assigns the property pins to a value of 8 to the symbol chip.

getqq( chip pins ) 
=> 8
chip.pins
=> 8

Related Topics

get

getqq

plist

putprop

Mapping Symbols to Values


Return to top
 ⠀
X