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

setSaveContextVersion

setSaveContextVersion( 
x_newVers 
) 
=> x_oldVers

Description

Resets the current saveContext version to x_newVers and returns the previous context version. If x_newVers has an unsupported value or the function is called between setContext and saveContext, it returns an error.

Arguments

x_newVers

Specifies the new context version.

Value Returned

x_oldVers

Returns the old context version.

Examples

setSaveContextVersion(getCompatContextVersion())
601
setSaveContextVersion(0)
*Error* setSaveContextVersion: unsupported context version - 0

Related Topics

Context Functions

defInitProc

loadContext

setContext


Return to top
 ⠀
X