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

findSymbol

findSymbol(
t_name
[ ?namespace t_namespace ]
)
=> s_symbolName / nil

Description

Searches for a symbol that is specified as a string in the given namespace and returns its corresponding SKILL symbol.

Arguments

t_name

A string value to specify the name of the symbol you want to search for.

t_namespace

(Optional) The namespace in which you want to search for the symbol.

Value Returned

s_symbolName

The name of the symbol.

nil

No such symbol exists in the namespace.

Examples

(Namespace "my")
ns@my
'my:::aaa
my:::aaa
(findSymbol "aaa" ?namespace "my")
my:::aaa
(findSymbol "bbb" ?namespace "my")
nil

Related Topics

Namespace Functions


Return to top
 ⠀
X