defUserInitProc
defUserInitProc(t_contextNameu_func[ autoInit ]) => (t_contextNames_procName)
Description
Registers a user-defined function that the system calls immediately after autoloading a context.
Lets you customize existing Cadence contexts. In the general case, most Cadence-supplied contexts have internally defined an initialization function through the defInitProc function. This function defines a second initialization function, called after the internal initialization function, thereby allowing you to customize on top of Cadence supplied contexts. This is best done in the .cdsinit file.
Arguments
Value Returned
|
Always returns an association list when set up. The function is not called at this point, but is called when the t_contextName context is loaded. |
|
Examples
defUserInitProc( "myContext" 'initMyContext)
=> (("myContext" initMyContext))
Related Topics
Function and Program Structure
Return to top