Entering or changing the description for a declared variable
How to enter a description for a variable already declared within a →graphical editor or change an already existing description:
-
Make the list of declared variables visible. Alternative for an →input variable, →output variable or →in-/out variable: Open the interface editor for the object (from within the project explorer).
-
Point to the column Description for the variable and double-click.
Alternative: Use the command Edit Description provided within the context menu.
The description or comment cannot be edited in this list, if the variable has been declared based on a →structured data type and the description or comment of the structure element is displayed. -
Enter the requested text.
A text with several lines is possible – press Shift+Enter. If you need the code for a newline in a textual editor, please refer to "Which code is required for a newline in a description or comment?". -
Accept the change by pressing the Enter-key or clicking the primary mouse button outside of the current field. Press the ESC-key, if you want to discard the change.