home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume38 / libftp / part01 / FtpNumber.c < prev    next >
C/C++ Source or Header  |  1993-07-13  |  153b  |  9 lines

  1. #include "FtpLibrary.h"
  2.  
  3. int FtpNumber(char *Message)
  4. {
  5.   return (Message[0] - '0') * 100 +
  6.          (Message[1] - '0') * 10  +
  7.      (Message[2] - '0') ;
  8. }
  9.