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 > sysCppExtension system variable (SDL script)
  
sysCppExtension system variable (SDL script)
This system variable applies only to the SDL scripts for C++.
The sysCppExtension system variable (a global string) returns the Implementation File Extension/Suffix value that is set on the Launch ACS/TDK dialog.
This system variable is useful when specifying an implementation file to generation code to.
In this example, the sysCppExtension system variable is used to set the extension of an implementation file.
%file (%getvar "strFullPath") & (%getvar "sysCppExtension")