.Comment Dotfield
- Last UpdatedFeb 24, 2021
- 1 minute read
The .Comment dotfield shows the comment assigned to a tag from the Tagname Dictionary. A tag comment can be a string up to 160 characters.
Category
Tags
Usage
Tag_name.Comment
Parameter
Tag_name
Any tag name.
Remarks
The comment associated with a tag can be modified with the .Comment dotfield while an InTouch application is running. After the application is stopped, the original comment specified from the Tagname Dictionary remains assigned to the tag.
Data Type
Message
Valid Values
Any string from 1 to 160 characters.
Example
The following statement creates an operator message by combining a tag’s assigned comment to the name of the tag:
OperatorMessage=PumpRPM.Name + " has a comment of: " + PumpRPM.Comment;