Constant WSTRING declaration breaks the color formatting.
CHAR# STRING# also exist
See this example
`
FUNCTION "FC_LoadDefaultValues" : Void
{ S7_Optimized_Access := 'TRUE' }
VERSION : 0.1
VAR_TEMP
END_VAR
VAR CONSTANT
END_VAR
BEGIN
REGION Alarming
REGION Errors
//Description
"PLC_Errors".wsDescription := WSTRING#'Not Available';
END_REGION
END_REGION
END_FUNCTION
`
Constant WSTRING declaration breaks the color formatting.
CHAR# STRING# also exist
See this example
`
FUNCTION "FC_LoadDefaultValues" : Void
{ S7_Optimized_Access := 'TRUE' }
VERSION : 0.1
VAR_TEMP
END_VAR
VAR CONSTANT
END_VAR
BEGIN
REGION Alarming
REGION Errors
//Description
"PLC_Errors".wsDescription := WSTRING#'Not Available';
END_REGION
END_REGION
END_FUNCTION
`