FOR r= 1 TO 10
blub =GETTIMERALL()
SLEEP 300
blab = GETTIMERALL()
blib = blab-blub
PRINT blib,1,3 +(r*10)
NEXT
SHOWSCREEN
MOUSEWAIT
show me
0
0
0
0
1
0
0
1
0
1
less as 1000 ms for sleep give me not the right time for the delay
you also ?
edited !!
What value do you get ?
Maybe 'GETTIMERALL()' doesn't get updated until a 'SHOWSCREEN' maybe?
But then why would you ever get a 1 value?
You could try putting a 'SHOWSCREEN' right after the 'SLEEP' command to try.
gettimer is updated with showscreen .
sample works fine in win !!
Does seem like a SLEEP problem...
FOR i%=0 to 30
SLEEP 300
NEXT
Will it sleep for 10 seconds?
can anyone send me a ipk for this because i deinstalled the uberkernel but have the same error
try this, please.
[attachment deleted by admin]
thx gernot !
I killed all Apps and restored the Palm
It shows me there is a bug with 20 ms at the first start
Second start 13 ms and so on .
maybe ocean can test also ... ocean make it so !! please.....
ok, sleep is not sleeping then. :/
Thank you.
before u search the bug please wait for oceans answer because he say in the chat the sleep command works for him
awesome investigation! Many thanks for this detail.