Not being able to enter inside a bucle
10:32 26 Dec 2025

I am working on a program that uses a bucle, see code below. For a reason that escapes me, by debugging I can tell, that the program does not enter the bucle.

It seems as if one of the conditions to exit the bucle is met, but this can not be.

Any advice will be greatly appreciated!

Cheers,

Oriol

void main()
{
    double k6, equation = 0;

    for (k6 = -0.05; k6 = equation; k6 = k6 + 0.05)
    {
c loops for-loop debugging