for(i = 0; i < max; i++)
{

if (H1Subject == SubjectNumber [i])
{
*Candtotal = *Candtotal + SubjectTotal [i];
SubjectUse [i] = 1;
H1Yes = 1;
SubjNumber = H1Subject;

}
}


if (H1Subject > 0)
{
UpdateUseInd (&SubjNumber);
}



My UpdateUseInd (&SubjNumber) function does not want to start. The compiler is happy, no errors and the function is declared correctly. When I step through the program it does go into the if statement but it just do not want to go into the function. The SubjNumber is declared as an int. What can be my problem. It is in Builder 5.