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 > sysSpecExtension system variable (SDL script)
  
sysSpecExtension system variable (SDL script)
This system variable applies only to SDL scripts for Ada.
The sysSpecExtension system variable (a global string) returns the Specification File Extension/Suffix value that is set on the Launch ACS/TDK dialog.
This system variable is useful when specifying a specification file to generation code to.
In this example, the sysSpecExtension system variable is used to specify the extension of a specification file.
%file (%getlocalvar "strPath") & (%getlocalvar "strFilename") & (%getvar "sysSpecExtension")