Compiler Error C0027

Message: Size of string expected after '('

Possible error cause: The length of the string is not specified.

Error correction: Specify a string length between the parentheses.

Example of the error:

PROGRAM MAIN
VAR
    str : STRING();
END_VAR

Message:

Error correction:

str : STRING(100);