Hi guys , i having some trouble getting my head arround doing a fifo for keys , what i need is FIFO which goes upto 5 deep ,

so as progressively 5 keys are pressed , the array builds down , and the newest key is Key_array(0) , oldest is Key_array(4) , if key_value = 10 then clear the values from array

regards