%system variable scope modifier (SDL script)
This topic applies to TDK SDL script extensions. For more information, see
Overview of SDL script extensions for TDK (SDL script).
SDL Script Extensions for TDK:
%system %string A $ Declares a global variable that holds its value up
$ the next time GenerateStart.sdl is called
In ACS there is a new kind of variable locality, the %system locality.
The %system prefix causes a variable to preserve its value between different calls to Generate.sdl.
%system variables are usually declared inside GenerateStart.sdl, but this is not a must. In principle, they can be declared everywhere (but inside %operation bodies). Values assigned to %system variables from within the GenerateStart.sdl module are kept up to the next call to GenerateStart.sdl (that will occur during the next generation process).
%system variables can be %string, %numeric, %object and %list types as any other variable in the system.