I'm writing a calculator program.
and got this problem:
if Num1 <> 0 then
Num1 := StrToFloat(edtCalculus.Text);
when i ran this code step by step, it was clear for me to understand why my program wasn't working. I'll explain myself, when the compiler reached the line which refers to btnIgualClick it was like if it read it and then skipped it. At least it seemed that to me as it didn't jump to that procedure (btnIgualClick).
which is the problem here?