CONST
The CONST function outputs the defined constant.
Input/Output
Number of Connections: 0
| Output | Data Type | Description |
| Output1 | String | The string defined in the Data property. |
Property
| Name | Property Type | Description |
| Data | variant | The constant.
If a value is empty, return a following data.
| DataType | Output |
| String | an empty string |
| Boolean | false |
| Others | null |
|
| DataType | choice | Specifies data type. |
| EnableMetaCharacter | boolean |
Specifies the option if the following meta characters and unicode escape can be used in Data.
| Meta Character | Control Character |
| \t | TAB |
| \r | CR |
| \n | LF |
Like "\u0041", you can describe the character by code point of Unicode. The "\" character can be used as an escape character. Use "\\" to output a single "\". A single "\" will result in a compile error.
| true [true]
| - | Use meta characters and unicode escape.
|
| false [false]
| - | Don't use meta characters and unicode escape.
|
|
Operation
-
Data value is copied to the description of the function automatically.
- When double-clicking the function icon if DataType is String, DateTime, the editor for those type is displayed. When launching "Edit data" from right-click menu of function icon, same editor is launched.
- When clicking "..." of right side of input field if DataType is DateTime the editor for DateTime is displayed.