|
-
September 12th, 2004, 11:06 AM
#1
Why doesn't my function start?
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.
-
September 12th, 2004, 11:12 AM
#2
Re: Why doesn't my function start?
Well for the function to be called H1Subject must be greater than 0. Is it?
-
September 12th, 2004, 01:01 PM
#3
Re: Why doesn't my function start?
Not enough information for us to help...
What is UpdateUseInd?
If "if (H1Subject > 0)" is indeed true, the function will be executed.
Try a full rebuild, perhaps there are some out-of-sync debug files.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|