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