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