|
|
Before setting a global variable, you must declare it using the %string or %numeric keyword in a Generate.sdl template. You can get the value of a global variable through the %getvar keyword.
|
%setvar "<name of variable>" = "<text>"
%setvar "<name of variable>" = <value>
|
|
You can also use %setvar to set a variable to the value of a different variable or an extended property.
|
%setvar "cAccess" = "public" // sets string global variable
%setvar "bRtSSimulation" = 1 // sets numeric global variable
%setvar "sysSpecExtension" = (".") & (%getvar "sysSpecExtension")