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