Compiler Error C0062

Message: '<variable name>' is no structured variable.

Possible error cause: A variable that is not a structure variable is treated like a structure variable.

Error correction: Make sure that the variable is a structure variable.

Example of the error:

PROGRAM MAIN
VAR
    pt : PUNKT;
    i : INT;
END_VAR

i.x := 1024;


TYPE Punkt :
STRUCT
    x : REAL;
    y : REAL;
END_STRUCT
END_TYPE

Message:

Error correction:

pt.x := 1024;