Post Reply 
bugs about TICKS function
05-04-2018, 10:20 PM
Post: #2
RE: bugs about TICKS function
(05-04-2018 05:10 AM)wangchong01 Wrote:  Hello,
I found that the system tick of HP Prime runs backwards 10ms sometimes, for example:
<code>
EXPORT main()
BEGIN
LOCAL lt:=TICKS(),tt;
WHILE 1 DO
tt:=TICKS();
IF tt<lt THEN
PRINT(lt+" "+tt);
END;
lt:=tt;
END;
END;
</code>
Then I get lots of tt=lt-10.

Congratulations! You've built a time machine (albeit for very small jumps)

Tom L
Cui bono?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
bugs about TICKS function - wangchong01 - 05-04-2018, 05:10 AM
RE: bugs about TICKS function - toml_12953 - 05-04-2018 10:20 PM
RE: bugs about TICKS function - LT_learner - 05-07-2018, 04:13 PM



User(s) browsing this thread: 1 Guest(s)