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

fdoc

fdoc( 
s_function 
) 
=> t_doc / nil

Description

Returns the documentation string for the function bound to the symbol s_function. SKILL switch saveInlineDoc must be set to save and retrieve the doc string.

Arguments

s_function

A symbol for the SKILL function name.

Value Returned

t_doc

Documentation string is available.

nil

Inline documentation is not available.

Examples

sstatus(saveInlineDoc t) ;; enable inline documentation in compile time
defun(myFun (a b)
"documentation for myFun: return sum a and b"
a + b
)
fdoc('myFun)
=> "documentation for myFun: return sum a and b"=

Related Topics

Core Functions


Return to top
 ⠀
X