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

prog1

prog1( 
g_expr1 
[ g_expr2 ... ] 
) 
=> g_result

Description

Evaluates expressions from left to right and returns the value of the first expression. This is a syntax form.

Arguments

g_expr1

Any SKILL expression.

g_expr2

Any SKILL expression.

Value Returned

g_result

Value of the first expression, g_expr1.

Examples

The following example returns the value of the first expression.

prog1(
x = 5
y = 7 )
=> 5

Related Topics

Function and Program Structure

prog2

progn


Return to top
 ⠀
X