isalpha() in DBPro by Philip6th Sep 2003 9:04
|
---|
Summary This is a function to do the same as isalpha() in C. It returns a 1 if temp is a letter of the English alphabet, otherwise zero is returned. Generally a call to this function would Description Code ` This code was downloaded from The Game Creators ` It is reproduced here with full permission ` http://www.thegamecreators.com Rem PJY - this is a function to do the same as isalpha() in C Rem It returns a non-zero if temp is a letter of the English alphabet, otherwise zero is returned FUNCTION isalpha(temp) if ((temp >= 16) AND (temp <= 25)) EXITFUNCTION 1 endif if ((temp >= 30) AND (temp <= 38)) EXITFUNCTION 1 endif if ((temp >= 44) AND (temp <= 50)) EXITFUNCTION 1 endif ENDFUNCTION 0 |