TrentJackson22
Programmer
I am using a Cherry Keyboard with some additional programmable keys. The programmable keys is what is causing me the trouble but I have to use them. Below is my code:
*******************************
* M A I N R O U T I N E *
*******************************
MAIN1.
TEST1.
ACCEPT X5 ON EXCEPTION EXC PERFORM EXCT
END-ACCEPT.
ACCEPT X10 NO BEEP BEFORE TIME 0150
CONTROL "OFF"
ON EXCEPTION EXC PERFORM EXCT.
DISPLAY "MADE IT".
GO TO TEST1.
EXCT.
DISPLAY "MADE IT TO EXCT".
My problem is when I press one of the extra programmable keys in the first Accept Statement it cancels the "Before Time" phrase in my second accept statement.
If anyone has any suggestions on how to check to see what extra is causing my "before Time" phrase to be canceled or how to clear it out before my second accept it would be greatly appreciated. The actual value I have programmed in the key is "~075 Enter". If I type "~075" and then press "Enter" in the first Accept statement the second works properly.
Thanks in Advance
*******************************
* M A I N R O U T I N E *
*******************************
MAIN1.
TEST1.
ACCEPT X5 ON EXCEPTION EXC PERFORM EXCT
END-ACCEPT.
ACCEPT X10 NO BEEP BEFORE TIME 0150
CONTROL "OFF"
ON EXCEPTION EXC PERFORM EXCT.
DISPLAY "MADE IT".
GO TO TEST1.
EXCT.
DISPLAY "MADE IT TO EXCT".
My problem is when I press one of the extra programmable keys in the first Accept Statement it cancels the "Before Time" phrase in my second accept statement.
If anyone has any suggestions on how to check to see what extra is causing my "before Time" phrase to be canceled or how to clear it out before my second accept it would be greatly appreciated. The actual value I have programmed in the key is "~075 Enter". If I type "~075" and then press "Enter" in the first Accept statement the second works properly.
Thanks in Advance