Compiler Error C0064

Message: Dereferencing requires a pointer.

Possible error cause: A variable that is not a pointer variable is "dereferenced".

Error correction: "Dereferencing" only variables that are pointer variables.

Example of the error:

PROGRAM MAIN
VAR
    i : INT;
    pi : POINTER TO INT;
END_VAR
i^:=1;

Message:

Error correction:

pi := ADR(i);
pi^ := 1;