I don't know if there is a spesific way todo this. But you could do something like:
You could keep the KeyUsed if statements in an include file so they are out the way.
If Keyhit(57) KeyUsed="Space" if Keyhit(1) KeyUsed ="Esc" Select KeyUsed Case "Space" FireFunction() Case "Esc" End End Select KeyUsed = "Null"
You could keep the KeyUsed if statements in an include file so they are out the way.