home *** CD-ROM | disk | FTP | other *** search
/ HomeWare 14 / HOMEWARE14.bin / prog / ks94an.arj / ALL_ALPH.HDR < prev    next >
Text File  |  1994-04-24  |  765b  |  35 lines

  1. /******************************************************************************
  2.                  The Klipper Library, for CA-Clipper 5.x
  3.         Copyright (c), 1994, Wallace Information Systems Engineering
  4.  
  5. FUNCTION:
  6.  
  7. _All_Alpha( cInStr ) --> lIsAllAlpha
  8.  
  9. PARAMETERS:
  10.  
  11. cInStr : Character string to check for all alphabetic chars
  12.  
  13.  
  14.  
  15.  
  16. SHORT:
  17.  
  18. Check if all characters in a string are alphabetic (A...Z only).
  19.  
  20. DESCRIPTION:
  21.  
  22. _All_Alpha returns TRUE only if every character in a string is an A...Z,
  23. no puncuation, and no digits.
  24.  
  25. NOTE:
  26.  
  27.  
  28.  
  29. EXAMPLE:
  30.  
  31. ? _All_Alpha('English Class')      // .T.
  32. ? _All_Alpha('English 101 Class')  // .F.  the "101" throws it.
  33.  
  34. ******************************************************************************/
  35.