Which code is required for a newline in a description or comment?

It is possible to enter a description or comment for a →variable .

  • If the variable is declared in the ST-editor, please refer to "Defining description, comment or JSON string for variables and data types" for the required syntax for description and comment of a variable. This article also contains the required code for a newline.

  • If the variable is declared in a →graphical editor, enter the description and/or comment in the respective field of the graphical editor. Depending on the editor, the newline is inserted either by Shift+Enter or the Enter-key. See the respective description for the editor.
    If you want to enter the description or comment within a →textual editor, observe that a different code is needed for a newline – depending on the editor :

    If you are unsure what code is needed, the best practice is to enter the description or comment including the new line in a graphical editor for a temporary object. Save the code/logic. Open the textual editor for the temporary object and transfer the code from the temporary object to the respective target object.

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg logi.cals recommends to install and use the most current versions of logi.CAD 3 and the runtime system so that the latest features and problem fixes according to the release notes are provided in the used version.


Did this article help you? Did you find the requested information in this user documentation?
If not, contact the support team of logi.cals. State your questions or suggestions to improve/enhance the user documentation as detailed as possible.