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

status

status( 
s_name 
) 
=> g_switchValue

Description

Returns the value of the internal system variable named. This nlambda function also works in SKILL++ mode.

See the sstatus function for a list of the Internal System Variables.

Arguments

s_name

Name of internal system variable.

Value Returned

g_switchValue

Status of the internal system variable, usually either t or nil.

Examples

Checks the status of debugMode and returns t if debugMode is on.

status( debugMode ) 
=> t

The status function gets a switch. The sstatus function sets a switch.

status debugMode    ; read the current value of the switch
=> nil
sstatus debugMode t ; set the value of the switch to new value
=> t
status debugMode
=> t

Related Topics

Core Functions

sstatus


Return to top
 ⠀
X