Compiler Error C0198
Message: String constant '<string value>' too long for destination type '<data type>'
Possible error cause: The string constant has too many characters.
Error correction: Use shorter string constants or declare larger strings.
Example of the error:
PROGRAM MAIN
VAR
str : STRING(4) := '12345';
END_VARMessage:
C0198: String constant '12345' too long for destination type 'STRING(4)'