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

setContext

setContext( 
t_contextName 
) 
=> t

Description

Allows contexts to be saved incrementally, creating micro contexts from a session’s SKILL context.

To understand this, think of the SKILL interpreter space as being linear; the function call setContext sets markers along the linear path. Any SKILL files loaded between a setContext and a saveContext are saved in the file named in the saveContext call. This function can be used more than once during a session.

Arguments

t_contextName

Primary name of the binary file to which the context was saved used saveContext.

Value Returned

t

Always returns t.

Examples

setContext("myContext")           
=> t
load("mySkillCode.il")
=> t
defInitProc("myContext" 'myInit)
=> t
saveContext("myContext.cxt")
=> t

Related Topics

Context Functions

defInitProc

loadContext

setContext


Return to top
 ⠀
X