02-08-2023, 09:47 PM
Simplest form of this is just:
Code: (Select All)
x = _EXIT
DO
CLS
PRINT "Alt-F4 to quit and close."
IF _KEYDOWN(15872) AND (_KEYDOWN(100308) OR _KEYDOWN(100307)) THEN SYSTEM 'Alt-F4
_LIMIT 30
LOOP