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

muffleWarnings

muffleWarnings( 
g_expr1 ... 
) 
=> g_general

Description

Returns the result of the last expression evaluated. If the last expression evaluated calls the warn function (either SKILL warn() or C-level ilWarn*), the related message is not printed out.

To get the list of muffled warning messages, use the getMuffleWarnings function immediately after a muffleWarnings command.

Arguments

g_expr1

Expression(s) to be evaluated.

Value Returned

g_general

Result of the last expression evaluated.

Examples

Result indicates 3 as the value evaluated from the last expression. The muffled warning messages are listed as a result of the getMuffleWarnings function.

muffleWarnings(
    warn("A warning")
    warn("A second warning")
    1+2
)
=> 3
getMuffleWarnings(    ) 
=> ("A warning" "A second warning")

Related Topics

Core Functions

getMuffleWarnings


Return to top
 ⠀
X