I can't believe my eyes!
My program (executed on Palm) gave me results, that were different from the
results of the same program, executed on PC.
I used debugger and found out, that in this piece of code:
while( nIndex < nAmount )
    {

        .......calculations;
        nIndex++;
    }
    pKey->m_lLastRead += nIndex-1;

Having nIndex=0 and nAmount=128 the compiler ignored
{        .......calculations;
        nIndex++;
}
and went straight to the line     pKey->m_lLastRead += nIndex-1;  !!!

Well, can't I use while() in CW?

--
Best regards
Evgene Rokhlin,
Software Engineer.
mailto:[EMAIL PROTECTED]
http://www.ectaco.com




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to