Post Reply 
Bug in REPEAT + WAIT(-1) when [UNTIL 0;] (FW 11226)
02-08-2017, 04:12 AM (This post was last modified: 02-08-2017 04:43 AM by Carlos295pz.)
Post: #12
RE: Bug in REPEAT + WAIT(-1) when [UNTIL 0;] (FW 11226)
(02-08-2017 03:52 AM)Han Wrote:  
(02-08-2017 02:56 AM)Carlos295pz Wrote:  Why in the video example only 2 events are shown? And not 3 as in the main thread code.

Because you trapped the second event in the ISKEYDOWN() command. Change the UNTIL line to UNTIL 0; and you will see all three events.

Whether ISKEYDOWN() is supposed to "pop" the event buffer, I am not sure.

But does not the same happen with the long click, ISKEYDOWN () consumes may be spanning so long? it's strange.

It is understood that ISKEYDOWN will influence when running GETKEY in "simultaneous", but with WAIT (-1) it would not cause a lag of 1 event per loop? as:
0: New
2: Completed
3: ?

With ISKEYDOWN:
0: New
2: Completed
3: ?
4:

Result not coincident with what was shown.

Viga C | TD | FB
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Bug in REPEAT + WAIT(-1) when [UNTIL 0;] (FW 11226) - Carlos295pz - 02-08-2017 04:12 AM



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