Post Reply 
WAIT, PRINT and timeout
07-18-2015, 04:08 PM
Post: #6
RE: WAIT, PRINT and timeout
Hi Salvo,

I see what you mean. There appears to be no way to set the time out to more than a minute and wait for a key press at the same time.

I did come up with this code that won't skip the second page if you tap the screen, but if you accidently drag your finger on the screen it does skip the second page.

Code:

local waittap()
BEGIN
 LOCAL a;
 a:=1;
 WHILE a>0 DO
  a:=−WAIT(−1);
  IF TYPE(a)==6 THEN
   wait(-1);
   wait(-1);
   break;
  END;
 END;
END;

export runme()
begin
 print();
 print("first page");
 waittap();
 print();
 print("second page");
 waittap();
 print();
 print("third page");
 waittap();
end;

I'll keep thinking and see what I can come up with.

Road
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
WAIT, PRINT and timeout - salvomic - 07-18-2015, 11:22 AM
RE: WAIT, PRINT and timeout - Thomas_Sch - 07-18-2015, 11:35 AM
RE: WAIT, PRINT and timeout - roadrunner - 07-18-2015, 12:32 PM
RE: WAIT, PRINT and timeout - roadrunner - 07-18-2015, 12:33 PM
RE: WAIT, PRINT and timeout - salvomic - 07-18-2015, 12:44 PM
RE: WAIT, PRINT and timeout - roadrunner - 07-18-2015 04:08 PM
RE: WAIT, PRINT and timeout - salvomic - 07-18-2015, 04:48 PM
RE: WAIT, PRINT and timeout - roadrunner - 07-19-2015, 12:09 PM
RE: WAIT, PRINT and timeout - salvomic - 07-19-2015, 03:35 PM
RE: WAIT, PRINT and timeout - StephenG1CMZ - 07-18-2015, 07:14 PM
RE: WAIT, PRINT and timeout - salvomic - 07-18-2015, 07:32 PM
RE: WAIT, PRINT and timeout - StephenG1CMZ - 07-18-2015, 09:10 PM
RE: WAIT, PRINT and timeout - roadrunner - 07-18-2015, 08:09 PM



User(s) browsing this thread: