home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / pascal / 5101 < prev    next >
Encoding:
Internet Message Format  |  1992-08-29  |  757 b 

  1. Path: sparky!uunet!dtix!mimsy!afterlife!adm!news
  2. From: S105728@umrvma.umr.edu ( Steve Poulsen)
  3. Newsgroups: comp.lang.pascal
  4. Subject: 'value' routine [REPLY]
  5. Message-ID: <32265@adm.brl.mil>
  6. Date: 29 Aug 92 14:29:00 GMT
  7. Sender: news@adm.brl.mil
  8. Lines: 14
  9.  
  10. Judging by his procedure, I think he wants to salvage any integer from the
  11. string starting from the left.  If it's too big then return the MAX.
  12.  
  13.  
  14. '123.456' returns 123
  15. '123456'  returns 65536 [or whatever]
  16. '12STP'   returns 12
  17. 'STPFL'   probably zero.
  18.  
  19. ========================================      ,--,
  20.   Steven P. Poulsen <S105728@UMRVMA>       ,'  '--,
  21.   Student of Electrical Engineering        ---, ,'
  22.   University of Missouri - Rolla            ,','
  23. =======================================    , '
  24.