Hi, Russ
If the key is stuck or still held down, I want further execution to stop until the key is released.
generally, I do that :
Code:
'********************************************************************
' Test Sélection
'********************************************************************
Delay = 0
BUTTON Selection,0,255,0,Delay,1,Wait1 ' button pressed pulls to ground
GOTO Affichage ' or Wherever you want, if no press !
' rem: NO DELAY if test = 0 !!!
Wait1: ' Wait for release
Delay = 0
BUTTON Selection,0,255,0,Delay,1,Wait1
GOTO Affichage ' Here, we continue ONLY if Button has been released ...
.
.
.
Alain
Bookmarks