Compiler Error C0046
Message: Identifier '<identifier name>' not defined.
Possible error cause: An identifier is used that is not declared.
Error correction: Declare the variables that you want to use.
Example of the error:
PROGRAM MAIN
VAR
END_VAR
i := 1;Message:
- C0018: 'i' is no valid assignment target.
- C0046: Identifier 'i' not defined.
Error correction:
VAR
i : INT;
END_VAR