Tom: Thanks for writing... but...
Once I put in Input junk, 1: The loop waits for a user input and thus stops updating time. --Bill -----Original Message----- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Tom Whitmore Sent: Friday, August 9, 2013 4:19 PM To: U2 Users List Subject: Re: [U2] KeyPressed I do agree that INPUTCLEAR should work but since it doesn't, try "CLEARDATA". Your example seems to be missing something that may help clarify things but another thought is: loop call *timeOfDay call *displayOtherStuff input thisKey, -1 input junk,1: until (thisKey = '1') sleep repeat gosub secondScreen The "input junk,1" will take the first character entered and discard it but it will clear the buffer, Tom Whitmore RATEX Business Solutions -----Original Message----- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Brutzman Sent: Friday, August 09, 2013 4:04 PM To: 'U2 Users List' Subject: [U2] KeyPressed With Dynamic Connect... and UniBasic... I need a screen that continuously displays time... as we have an inspection screen where press operators enter fresh data each hour. Something like... loop call *timeOfDay call *displayOtherStuff input thisKey, -1 until (thisKey = '1') sleep repeat gosub secondScreen The trouble with this thing is... when a key is pressed... it wants to display the key on asubsequent screen. I tried... inputclear... but it is not doing what I want. Suggestions would be appreciated. --Bill _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users