Kernel.Time
-
- Posts: 1700
- Joined: Tue Sep 17, 2013 12:21 am
- Location: Russia
Re: Issue # 97, Create Docu for (System)Kernel
Robert, WinApi.GetTickCount() can not return the value less than 0, so told < 0 will never be TRUE.
Re: Issue # 97, Create Docu for (System)Kernel
It can return the bit pattern "1111 0000 0000 ... 0000" which, interpreted as a Component Pascal INTEGER, is negative.Ivan Denisov wrote:Robert, WinApi.GetTickCount() can not return the value less than 0, so told < 0 will never be TRUE.
BUT I now agree with Josef, Kernel.Time is correct. Tricky (!), but correct.
Robert