Discussion:
? Variable parameter list like Writeln
(too old to reply)
Alec Soroudi
2003-11-03 02:33:30 UTC
Permalink
Hi,

I can't remember how to create a prodcedure (or function) that can take
an undetermined number and type of parameters like Writeln does.

How do you do that again?


Thanks.

--
Alec
***@synetech.cjb.net


uto7
Svend Broholm
2003-11-03 19:00:41 UTC
Permalink
Post by Alec Soroudi
Hi,
I can't remember how to create a prodcedure (or function) that can take
an undetermined number and type of parameters like Writeln does.
How do you do that again?
Thanks.
I know why you can't remember the solution: It is not possible!! due
to the strict typechecking of pascal.

Svend Broholm
Alec Soroudi
2003-11-04 03:35:06 UTC
Permalink
Hmmm. I could swear I remember seeing this ability somewhere ie, "Turbo
Pascal 7 the Complete Reference" from Osborne Press; although I can't find
where in the book it was. Of course I could be confusing it with the
ellipsis method of C++... however, again, I could swear I saw it for Pascal
before.

Well, either way; I don't really need it anymore, the thing I needed it
for was aborted due to another problem. I worked around it. :)


Thanks anyway.

--
Alec
Post by Alec Soroudi
Hi,
I can't remember how to create a prodcedure (or function) that can take
an undetermined number and type of parameters like Writeln does.
How do you do that again?
Thanks.
--
Alec
uto7
Loading...