I have virtually no experience in programming C. But now i have to use a bit of C code in a VB.net application.
Translating the code has been succesful so far, but i have encountered this weird (at least for me) statement
j += ( i = j);
chisq += (temp = y[i] - (aa + bb*x[i]), temp*temp);
It firsts assigns j to i, and then adds i to j.
i = j; j += i;