home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / pascal / 5045 < prev    next >
Encoding:
Text File  |  1992-08-25  |  1.3 KB  |  31 lines

  1. Newsgroups: comp.lang.pascal
  2. Path: sparky!uunet!orca!javelin.sim.es.com!tpehrson
  3. From: tpehrson@javelin.sim.es.com ([SNES ClRv])
  4. Subject: Re: want to help me make my 'value' routine crash-proof?
  5. Message-ID: <1992Aug25.191036.21639@javelin.sim.es.com>
  6. Reply-To: tpehrson@javelin.sim.es.com
  7. Organization: Evans & Sutherland Computer Corporation
  8. References: <1992Aug25.150516.17385@javelin.sim.es.com> <dmurdoch.65.714760154@mast.queensu.ca>
  9. Date: Tue, 25 Aug 1992 19:10:36 GMT
  10. Lines: 19
  11.  
  12. dmurdoch@mast.queensu.ca (Duncan Murdoch) writes:
  13.  
  14. >>of course, when i pass a loaded string such as '99999' the routine crashes.
  15. >>maxing out at 65535 is desired.
  16.  
  17. >You haven't told us what you'd like this routine to do in that case.  What 
  18. >is the 16 bit value of 99999?  The question doesn't make sense.  
  19.  
  20. let me repeat:
  21. >>maxing out at 65535 is desired.
  22.  
  23. i want my routine to accept any 'number', in string form, such as 
  24. '99999999999999999999123459' and 1. not crash 2. return the maximum, 65535.
  25.  
  26. -- 
  27. \clinkenpeel: aberrant analytical cynical agnostic idealist.  i exclusively /
  28. /represent myself.  i do not offend anyone; however, some morons choose to  \
  29. \offend themselves.  judge only those who you would have judge yourself.  i /
  30. /don't practice what i preach - i'm not the type of person i'm preaching to.\
  31.