[fpc-pascal] Variable arguments, different types?

Vinzent Hoefler JeLlyFish.software at gmx.net
Thu Mar 9 18:01:54 CET 2006


On Thursday 09 March 2006 17:02, L505 wrote:
> > > Isn't this exactly what array of const is for? It allows you to
> > > use anywhere from 1 to unlimited parameters.
> >
> > Yes. Still, it's only one argument. You can't just suddenly pass
> > two "array of const", can you?
>
> Okay but why would you need that (humor me).

Hmm. You're right, it wouldn't be needed. You could pass the second 
array of const as element of the first one and implement the called 
routine as a recursive one. :-)


Vinzent.




More information about the fpc-pascal mailing list