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

xCoord

xCoord( 
l_list 
) 
=> g_result

Description

Returns the first element of a list. Does not modify the argument list.

The xCoord and yCoord functions are aliases for the car and cadr functions.

Arguments

l_list

A list of elements.

Value Returned

g_result

The first element in a list.

Examples

xValue = 300 
yValue = 400
aCoordinate = xValue:yValue
=> ( 300 400 )
xCoord( aCoordinate ) 
=> 300
yCoord( aCoordinate ) 
=> 400

Related Topics

yCoord

car

caar, caaar, caadr, cadr, caddr, cdar, cddr, ...


Return to top
 ⠀
X