From: "Richard Coutts" <[EMAIL PROTECTED]>

> I have a simple timer:
>
>   UInt16 stopCount = TimGetTicks() + SysTicksPerSecond();
>   while (TimGetTicks() < stopCount){}

stopCount should be UInt32, which is what TimGetTicks() returns.

The top word is getting lopped off in the assignment, but it's used in the
comparison.



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to