When the program starts after compilation, the above error occurs under Windows x64. Lazarus used versions 1.8.4 x86 as well as 2.0.0 x86 / x64. in Lazarus 1.8.2 under Linux Ubunt May 18.04.2 nothing like this happens: it works without errors. The string on which swears:

k:=pd/exp(ln(rv)*1.852); 

pd equals 16.610 , rv equals 1.741 , all double .

PS The line was added a few days ago and there are still no problems with it. The program has undergone minor changes outside of this procedure, in connection with which recompilation was required. The above variables were not affected ...

  • Put some kind of debugger on the values ​​that participate in this expression, and see what is there .. DebugString () or MessageBox () as a last resort :) - NewView
  • the question is removed: a situation has been discovered in which, indeed, zeros are present. another question: why did the linux compiler not react in the same way? already zero both variables. are initialized with zeros, but, due to certain circumstances, they do not receive other values ​​and are transferred to the procedure in their original form. in Lazarus 1.8.2, under Ubuntu May 18.04.2, it works smoothly, and under Windows it’s a mistake ... - eugene.raynor

0