this is my code.
for i := 0 to 15 do
for j := 0 to 2 do
if ((Computer[i].Rows[j].Pos.x = iOld) and (Computer[i].Rows[j].Pos.y = jOld)) then
// main part
For some reason delphi *sometimes* executes the main part even though the if statement is false! I'm using similar code in other places and there it works, what am I doing wrong here??
Any help is really appreciated...