Product Documentation
Cadence SKILL Development Reference
Product Version IC23.1, June 2023

listAlias

listAlias( 
[ s_aliasName ]
) 
=> s_functionName / l_propertyList / nil

Description

Prints a (property) list of all current aliases and associated function symbols, or the function symbol for which the given alias is defined.

Arguments

s_aliasName

Symbol name of the alias

Value Returned

s_functionName

Function symbol for which the given alias name is defined.

l_propertyList

Property list of all current aliases and associated function symbols. This is printed when no argument is specified.

nil

The given alias name is not an alias for any function, or there are no aliases defined for any function at all.

Examples

;; Defines ’lf’ and ’e’ as the aliases of the listFunctions()}
;; and edit() functions, respectively
alias(lf listFunctions) => lf
alias(e edit) => e
;; Prints the name of the function that ’lf’ aliases to
listAlias(’lf) => listFunctions
;; Prints A property list of all current aliases and associated
;; function symbols
listAlias() => (e edit lf listFunctions)
;; The given alias name is not an alias for any function
listAlias(’bogus) => nil
;; Remove ’lf’ and ’e’ as aliases
unalias(lf) => (lf)
unalias(e) => (e)
;; There’s no alias defines for any function anymore listAlias() => nil

Related Topics

Debug Functions


Return to top
 ⠀
X