⬆️ ⬇️

Oddities in Delphi 7

Today, my friend and I had a question of calculating console deflections. Of the available tools, there was a computer of unknown origin with the Delphi 7 package. Having implemented the code (for its curvature, please do not kick your feet), we encountered the following interesting problem:



Delphi 7 is buggy



For me, Delphi's environment is not native, so it was not possible to fight this glitch on this particular machine. In principle, the correct values ​​can be seen in the first line, but only for the sake of interest, we tried to compile the code on another machine - the result is correct!



Question to the experts: what is wrong?

')

UPD:

Just scored the same at home:



No longer tupit

Source: https://habr.com/ru/post/54375/



All Articles