home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_02_01 / 2n01046b < prev    next >
Text File  |  1990-11-14  |  168b  |  12 lines

  1.  
  2.  
  3.  
  4. {*
  5.  * return true if c is a digit; otherwise return false.
  6.  *}
  7. function isdigit(c : char) : boolean;
  8.     begin
  9.     isdigit := ('0' <= c) and (c <= '9');
  10.     end;
  11.  
  12.