home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / pascal / 4555 < prev    next >
Encoding:
Internet Message Format  |  1992-07-25  |  1.3 KB

  1. Path: sparky!uunet!uunet.ca!canrem!telly!moore!torsqnt!geac!alias!imax!beltrix!zooid!r-node!bville!greg.vigneault
  2. From: greg.vigneault@bville.gts.org (Greg Vigneault) 
  3. Newsgroups: comp.lang.pascal
  4. Subject: GENERIC INTEGER
  5. Message-ID: <237.495.uupcb@bville.gts.org>
  6. Date: 24 Jul 92 14:49:00 GMT
  7. Reply-To: greg.vigneault@bville.gts.org (Greg Vigneault) 
  8. Distribution: world
  9. Organization: Baudeville BBS - Toronto, Canada 416-283-0114/6059* *v32bis/HST
  10. Lines: 20
  11.  
  12.  In <1992Jul20.211817.14744@usenet.ins.cwru.edu>
  13.  Re: TP 6.0: Generic integer format?
  14.  wct@po.CWRU.Edu (William C. Thompson) writes...
  15.  
  16. >>Ok, I want what you say I can't do.  I want a procedure that can
  17. >>receive any number.
  18.  
  19. >That you can't do.  I wanted the same thing at one point.  Perhaps you
  20. >could find a trick or something.  Unfortunately, that requires knowing
  21. >a lot more about the code.  Do you have the code already written?
  22.  
  23.  Actually, you can, if it's a variable versus value reference. Just
  24.  use an untyped variable in the formal parameters list.  The real
  25.  trick is for the receiving function to know what data size/type the
  26.  address points to.  BTW, TP6 isn't a factor (I use TP55).
  27.  
  28.  Greg_
  29.  
  30.  Jul.24.1992.Toronto.Canada.        greg.vigneault@bville.gts.org
  31.                                                                                                                          
  32.