defCapDepends
defCapDepends(s_contextl_dependsList) =>t
Description
Specifies which contexts depend on which other contexts.
This can be specified in the .skinit file, which must reside in either the user’s home directory or your_install_dir/local directory.
We recommend that developers put the defCapDepends function call in the beginning of the startup.il file because if SKILL Lint sees this call while analyzing the context it will determine the dependent contexts. When SKILL Lint is run on the context s_context, it loads all the dependent contexts from which it will be able to effectively type check the function calls made by the context being analyzed.
Arguments
Value Returned
Examples
Informs SKILL Lint that myContext depends on the contexts skillCore and hiBase.
defCapDepends('myContext '(skillCore hiBase))
Related Topics
Return to top