Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > SDL script for generating code > System variables > Overview of system variables (SDL script)
  
Overview of system variables (SDL script)
The following system variables can be used in SDL scripts.
sysBodyExtension
The body file name extension as set in the Launch ACS/TDK dialog when generating Ada.
sysCExtension
The implementation file name extension as set in the Launch ACS/TDK dialog when generating C.
sysCppExtension
The implementation file name extension as set in the Launch ACS/TDK dialog when generating C++.
sysCurrentObject
A list containing the item that is passed to the Generate.sdl generation template by ACS.
sysDate
The current date, using your locale settings for format.
sysFileExtension
The file name extension as set in the Launch ACS/TDK dialog when generating Java or SQL.
sysGeneratingStub
A numeric for determining whether a Class was added to the Classes to Stub list in the Launch ACS/TDK dialog when generating C or C++.
sysHeaderExtension
The header file name extension as set in the Launch ACS/TDK dialog when generating C or C++.
sysIncludeRootObject
A list containing the root item that was last set and saved to the Model Settings File.
sysIncludeRootPath
The path to which the root item selected in the Launch ACS/TDK dialog is generated.
sysIndentLevel
A numeric used to control indenting in the generated code. The sysIndentLevel specifies the number of tabs (or in the case of Ada, spaces) to generate before a new line of code.
sysInlineShortOperations
A numeric to control whether short operations are generated inline for C and C++.
sysInstrumentationOn
A numeric for specifying whether to generate Modeler notifications for generated state machines in C and C++.
sysPathSeparator
The separator to use in paths, set through the Use UNIX Style Include Path Separators check box in the Launch ACS/TDK dialog when generating C and C++. Always set to '\' for the Ada and Java.
sysPreserveExistingOps
This system variable was used by the previously provided Ada, C, C++ and Java Synchronizers.
sysRootObject
A list containing the item that was selected as the Root Object in the Launch ACS/TDK dialog.
sysSchemeDirectory
The path of the directory in which the Generate.sdl generation template resides.
sysSMGClassObjects
A list of virtual classes and their virtual items - used when generating state machines.
sysSMGStateMachines
A list of virtual state diagrams for generating state machines - used when generating state machines.
sysSMGStates
A list of virtual states that appear on virtual state diagrams - used when generating state machines.
sysSMGTypeDefVectors
A list of virtual type definitions and their virtual enumeration literals - used when generating state machines.
sysSpecExtension
The specification file name extension as set in the Launch ACS/TDK dialog when generating Ada.
sysStubbedObjects
A list of classes that have been selected to be generated as stubs in the Launch ACS/TDK dialog when generating C or C++.
sysTime
The current time, using your locale settings for format.
sysWorkingDir
The working directory as set in the Launch ACS/TDK dialog.