[fpc-pascal] Getting Last User Input reliably
Luca Olivetti
luca at ventoso.org
Fri Dec 3 19:43:01 CET 2021
El 3/12/21 a les 18:37, Dennis Lee Bieber via fpc-pascal ha escrit:
> Detection is normally done by: if current tick is less than saved tick,
> roll-over has occurred. Make adjustments to the delta.
There is no need to do that, just make sure you're using DWORDs (i.e.
unsigned arithmetic) everywhere and disable overflow checking.
Bye
--
Luca
More information about the fpc-pascal
mailing list