If you don't define AutoRepeat, the program will spin in round until you release the keys.

To make a short story Use AutoRepeat and SCAN_ONCE... i should have written that routine in a different way...