int tecla; tecla=Key; if(((tecla>='a')&& (tecla<='z')) || ((tecla>='A') && (tecla<='Z')) ) { Key=NULL; } else Key=tecla;