home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Interactive Guide / c-cplusplus-interactive-guide.iso / c_ref / csource3 / 163_01 / isalpha.c < prev    next >
Text File  |  1988-02-01  |  384b  |  8 lines

  1. /*
  2. ** isalpha -- true if argument is valid ASCII alphabetic
  3. */
  4. isalpha(c) char c; {
  5.   if((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z')) return 1;
  6.   else return 0;
  7.   }
  8.