TassyJim
 Guru
 Joined: 07/08/2011 Location: AustraliaPosts: 6545 |
| Posted: 08:54pm 01 Dec 2020 |
|
|
|
Keyboard_check(key) and keyboard_check_pressed(key)
sound like KEYDOWN and INKEY$, but I thought we were talking about switches, not the keyboard.
My example and the others referred to hide the complexity from you if you don't want to know but allow you to fine tune them to suit special uses. That is the advantage of doing it in user functions instead of a built-in command.
Jim |