I am trying to set a boolean variable (curs) to false in my code but I am getting this error:
[Error] Main.pas(50): Incompatible types
Does anyone know what this means?
if form1.Left = pt.X and form1.Top = pt.Y
then curs := false;
If you know or have any ideas on what happened please feel free to share. 🙂 thanks
-connorbp
That’s because you need to put the equality check between parentheses, like so: