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

  1. Path: sparky!uunet!dtix!oasys!roth
  2. From: roth@oasys.dt.navy.mil (Pete Roth)
  3. Newsgroups: comp.lang.pascal
  4. Subject: Re: HELP !!! Is there any ability to pass various number of parameters to TP 6.0 function or procedure
  5. Message-ID: <22771@oasys.dt.navy.mil>
  6. Date: 27 Jul 92 11:41:34 GMT
  7. References: <AA0zfQgyMD@utrade.e-burg.su>
  8. Reply-To: roth@oasys.dt.navy.mil (Pete Roth)
  9. Organization: The David Taylor Model Basin
  10. Lines: 19
  11.  
  12. In comp.lang.pascal, soi@utrade.e-burg.su (Oleg I. Subachev) writes:
  13. >Dear Madams and Sirs !!!
  14. >
  15. >Can anybody hint me whether there is any hook to pass various
  16. >number of parameters to TP 6.0 functions and procedures.
  17.  
  18. You mean, like the Fortran MAX function?  There is NO way to specify
  19. that a procedure accepts a variable number of parameters.
  20.  
  21. If you _really_ need it, work-arounds might include passing a single data
  22. structure such as an array or linked list. The procedure would then have
  23. to unpack the structure itself.
  24.  
  25. Just curious: what is it you're trying to do?
  26.  
  27. regards, pete
  28. - - - - - - - - - - - - - - - - - - - - - - - - - -
  29. Peter N Roth      roth@oasys.dt.navy.mil
  30. "Never argue with someone who buys ink by the barrel." - Daniel Janal.
  31.