Overview of system variables (SDL script)
The following system variables can be used in SDL scripts.
The body file name extension as set in the Launch ACS/TDK dialog when generating Ada.
The implementation file name extension as set in the Launch ACS/TDK dialog when generating C.
The implementation file name extension as set in the Launch ACS/TDK dialog when generating C++.
A list containing the item that is passed to the Generate.sdl generation template by ACS.
The current date, using your locale settings for format.
The file name extension as set in the Launch ACS/TDK dialog when generating Java or SQL.
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++.
The header file name extension as set in the Launch ACS/TDK dialog when generating C or C++.
A list containing the root item that was last set and saved to the Model Settings File.
The path to which the root item selected in the Launch ACS/TDK dialog is generated.
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.
A numeric to control whether short operations are generated inline for C and C++.
A numeric for specifying whether to generate Modeler notifications for generated state machines in C and C++.
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.
This system variable was used by the previously provided Ada, C, C++ and Java Synchronizers.
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.
A list of virtual classes and their virtual items - used when generating state machines.
A list of virtual state diagrams for generating state machines - used when generating state machines.
A list of virtual states that appear on virtual state diagrams - used when generating state machines.
A list of virtual type definitions and their virtual enumeration literals - used when generating state machines.
The specification file name extension as set in the Launch ACS/TDK dialog when generating Ada.
A list of classes that have been selected to be generated as stubs in the Launch ACS/TDK dialog when generating C or C++.
The current time, using your locale settings for format.
The working directory as set in the Launch ACS/TDK dialog.
Was this helpful?