while (ReadyCheck(hSmx) == aCount);
can I do this? I want the program flow to halt, repeatedly calling ReadyCheck() until it returns a value equal to aCount, ie, same functionality as:
while (true)
{
i = ReadyCheck(hSmx);
if (i == aCount)
break;
}
I ask because I want to keep my code clean (this fragment above looks horrible. Thankyou!
can I do this? I want the program flow to halt, repeatedly calling ReadyCheck() until it returns a value equal to aCount, ie, same functionality as:
while (true)
{
i = ReadyCheck(hSmx);
if (i == aCount)
break;
}
I ask because I want to keep my code clean (this fragment above looks horrible. Thankyou!