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

alias

alias( 
s_aliasName 
s_functionName 
)
=> s_aliasName

Description

Defines a symbol as an alias for a function. This is an nlambda function.

Defines the s_aliasName symbol as an alias for the s_functionName function, which must already have been defined. The alias function does not evaluate its arguments. Use the alias function only to speed up interactive command entry and never in programs.

Arguments

s_aliasName

Symbol name of the alias.

s_functionName

Name of the function you are creating an alias for.

Value Returned

s_aliasName

Name of the alias.

Examples

Aliases path to the getSkillPath function.

alias path getSkillPath 
=> path

Aliases e to the edit function.

alias e edit 
=> e

Related Topics

Function and Program Structure


Return to top
 ⠀
X