Post Reply 
Bug in REPEAT + WAIT(-1) when [UNTIL 0;] (FW 11226)
02-02-2017, 08:37 PM
Post: #1
Bug in REPEAT + WAIT(-1) when [UNTIL 0;] (FW 11226)
These commands work poorly by working this way, recognizes an extra menu tap

Code:
EXPORT Bug_REPEAT_WAIT()
BEGIN

 LOCAL Action,Cnt;

 RECT;
 TEXTOUT_P("Touch the screen",50,120);
 0▶Action;

 REPEAT
  WAIT(-1)▶Action;
  IF TYPE(Action) THEN
   Cnt+1▶Cnt;
   IF Action(1)=3 THEN
    RECT;
    TEXTOUT_P("Number of Screen Events: "+Cnt,50,120)
   END
  END
 UNTIL 0;

END;

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
Bug in REPEAT + WAIT(-1) when [UNTIL 0;] (FW 11226) - Carlos295pz - 02-02-2017 08:37 PM



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