Dialog: Project Settings – Compile options
Symbol:
Function: Provides information about the compiler version and configures compile options project-wide
Call: command, Compile options category
Requirement: A project is open.
Fix version | Shows the compiler version which is used when compiling and when loading for compiling. An update to the newest compiler version is possible, but resetting to an older version is not possible. |
Allow Unicode characters for identifiers | Cleared by default because using Unicode characters in identifier names is not permitted in the IEC standard May be required for some foreign languages (example: Asian languages) |
Replace constants |
In online mode, the constants are marked with a symbol which is prepended to the value in the declaration editor or monitoring view. In this case, access is not possible, for example by means of an
|
Enable logging in breakpoints | For breakpoints which are defined as execution points, you can create a message text in the Execution Point Settings dialog. This text is printed to the device log when the application halts at the execution point. |
UTF8 Encoding for STRING |
Index access to the UTF-8 literal is not advisable and will mostly lead to errors. TipIf project-wide encoding to UTF-8 format is not desired, a single variable type can be implicitly converted with a UTF-8 encoding only for project-wide configurationA UTF-8 encoding is used if the project-wide compile option UTF8 encoding for STRING is enabled. Library functions and add-ons are then also oriented according to this setting. If you use single UTF-8 encoded strings, then you need to make sure that they are interpreted correctly wherever they are used. For example, a string variable in the OPC server will be converted to UTF-8 before being transferred to a client if the setting is not selected. Values such as |
Edit Project Defines | Opens the Edit Project Defines dialog. |
Maximum number of warnings | Refers to the warnings which are output to the message view TipYou define the selection of displayed compiler warnings in the Project Settings dialog, in the Compiler warnings category. |
Add Project Define | Adds a new row to the table. Double-click this row to open the line editor and enter the identifier for the new project define. The new project define has to be a valid IEC identifier. The project defines are valid throughout the entire project and in all referred libraries. They do not apply in public interfaces. |
For more information about project defines, see: project_defined (<global define>)