Symbols defined at all times

An error corrected in the 2.71 edition - no global symbols could be defined unless the project included CPU component. (For CPU.chg, which is not selected as a target, no symbol needs to be defined.)

PEversion Processor Expert (core/service) version number that reads as 'XX.XX'; the version may be presented as a hex number however in the past was used only decimal digits; see also PEversionDecimal.
PEversionDecimal Processor Expert (core/service) version number, as a decimal number; PE version is internally represented as a hex number (for example version 4.46 is internally represented as number 0x446), this symbol contains decimal representation of this number (for example, for 0x446 = 1094).
PE_ProductVersion Processor Expert (product) version number.
PE_ProductVersionLimited Defined only if the PE version is not a full version; it may become one of the following values: ALPHA, BETA, PROTOTYPE and DEMO; the information needs to be obtained from PE.cfg - ProductVersion.
ProjectStaticFilesGenerationMode Performs the identification of the selected mode of creation of static files for the project (the selection is done only during project creation), supported values: LINKED (default) and STANDALONE.
Compiler Compiler identification; the symbol as per the file name in the directory as follows: Config\Compilers\*.cmplr
CommentLine Defined if a sequence of characters exists for the language in question quoting the comment to the line ends; if this value is reached, information will be obtained from the configuration file of the compiler selected.
CommentBrackets Defined if a sequence of characters exists for the language in question quoting and terminating the multiple-line comment; the sequence presents the symbol value, information will be obtained from the configuration file of the compiler selected.
DriverExtension Durrent driver file extension; necessary for processing TST, RGI, DRV and DMO files using SRC.
ModuleList List of names of all component modules (except for the CPU module); not defined provided no additional module exists; the symbol will be available only for generating.
EventModuleList List of names of all potential modules; not defined if there are no modules; the symbol will be available only for generating.
Dir_Project {deprecated} Project directory (slash-terminated absolute path); replaced by ClientDir_Project.
ClientDir_Project Project directory, absolute path; backslash is used as sub-directory delimiter and it is finished by backslash.
Dir_Drivers, Dir_Events, Dir_Binary {deprecated} Absolute target directories for generating codes for drivers, events and binary (translated) files, slash-terminated; use relative paths if possible.
ClientDir_Code, Dir_Events, Dir_Binary {deprecated} Absolute target directories for generating codes for drivers, events and binary (translated) files, slash-terminated; use relative paths if possible.
DirRel_Code Relative target directory for generating code; sub-directories are separated by backslash, the path is finished by backslash.
DirRel_Binary, DirRel_Docs Relative target directories for generating binary files and documentation, in formats specified by the user (relative in respect to the project directory, or absolute); slash-terminated if not empty; (DirRel_Binary is relative path to project even the user can enter only relative path to code directory); backslash is used as sub-directory delimiter and it is finished by backslash.
DirRel_StaticCode Relative target directory for static code (relative in respect to the project directory, or absolute); backslash is used as sub-directory delimiter and it is finished by backslash.
DirRel_EventToDrivers {deprecated} Relative path from the events directory to the drivers directory, i.e. empty string, setting not possible by the current PE.
DirRel_EventToBinary Relative path from the events directory to the binary directory, i.e. exactly what is set by the user; backslash is used as sub-directory delimiter and it is finished by backslash.
DirRel_Events Relative path from the project directory to the events directory; backslash is used as sub-directory delimiter and it is finished by backslash.
DirRel_Drivers {deprecated} Relative path from the project directory to the generated code and events directory (for DirRel_Drivers is applied DirRel_Events+DirRel_EvntToDrivers); the symbol was replaced by DirRel_Code.
DirRel_DriverToEvents {deprecated} Relative path from the drivers folder to the events folder (empty string: current PE does not allow the setup).
DirRel_BinaryToEvents Relative path from the binary directory to the events directory (in most cases, "" or "..\"); backslash is used as sub-directory delimiter and it is finished by backslash.
DirRel_Sources {deprecated} Relative path of main & events directory selected by user, this symbol is available only in Eclipse with Java PE service; should be replaced by DirRel_Code.
DirRel_ProjectSettings Relative path of Project settings directory selected by user, this symbol is available only in Eclipse with Java PE service; backslash is used as sub-directory delimiter and it is finished by backslash.
Dir_PE PE system directory (slash-terminated absolute path).
ServerDir_PE, ClientDir_PE Root PE directory on server and on client (absolute path, finished by backslash); for stand-alone PE, PE Java service and CW plug-in both symbols are the same; backslash is used as sub-directory delimiter and it is finished by backslash.
PE_DemoVersion Indicates PE demo version.
PE_DEVELOPMENT Eclipse: PE development mode is tuned ON, for example, "CDE mode".
PE_ECLIPSE Symbol is defined only in PE plug-in for Eclipse (correctly saying symbol is defined in PE server version for Eclipse or Java PE-service).
ProjectName Project name; for Eclipse the value is ProcessorExpert for projects created in older version (to preserve backward compatibility); otherwise it is name of the Eclipse project (might not be an identifier, only character % is replaced by underscore character).
EclipseProjectName Name of the Eclipse project; the name may contain relative path in the workspace; the symbol may not be available during project creation or project closing; recommended to use symbol ProjectName instead.
ProjectModule Main project module name generated from the "Main.src" file; this module usually contains only import of processor module and empty main function (a user template); deprecated, replaced by ProjectMainModule.
ProjectMainModule {deprecated}Main project module name generated from the Main.src file; this module usually contains only main() function.
SetHighSpeedMode Within CPU, HighSpeedMode is supported (always defined) - at the same time, this is a mode change method name, the value stands for the mode name (main clock source) as it is selected in the corresponding property, empty string If there is no property for clock source selection; the symbol is not available for SpeedModeList mode, list SpeedModeList should be used instead.
SetLowSpeedMode Within CPU, LowSpeedMode is supported - at the same time, this is a mode change method name, the value stands for the mode name (main clock source) as it is selected in the corresponding property, empty string If there is no property for clock source selection; the symbol is not available for SpeedModeList mode, list SpeedModeList should be used instead.
SetSlowSpeedMode Within CPU, SlowSpeedMode is supported - at the same time, this is a mode change method name, the value stands for the mode name (main clock source) as it is selected in the corresponding property, empty string If there is no property for clock source selection; the symbol is not available for SpeedModeList mode, list SpeedModeList should be used instead.
CPUrunSpeedModeNum A number of speed modes supported within CPU.
SpeedModeList List of all supported speed modes [SpeedMode0,SpeedMode1,...,SpeedMode7], number of items in the list matches with CPUrunSpeedModeNum; the list is available only in SpeedModeList mode.
SpeedModeNames All speed mode names: High, Low, Slow or SpeedMode0, SpeedMode1, ..., SpeedMode<N>, where <N> is index of last selected speed mode.