Actually I wonder how my arrow key array above works!by (Login burger2227)R I can note different release codes when Num Lock is set the wrong (either) way. So if that is the case, the IF statement to assign 0 to the release code should set the wrong array element. However it apparently does not for some reason. It must be setting the correct arrow code to 0 or the box would keep moving in one direction until a border. There is a slight lag in stopping, but I wonder why it works at all! The array elements are never reset to 0 by the program. I tried changing the Num Lock with the same results. Did I discover something? Ted
|