Re: [fpc-pascal] arbitrary number of parameters in procedure

2005-08-31 Thread Michael Van Canneyt
On Wed, 31 Aug 2005, Pianoman wrote: > Hi, I have not well understood the docs concerning tvarrecs. How can I > create procedure which will accept arbitrary number of parameters? > To demonstrate what I want: > procedure addnums(a,b,c, of any types var result:sometype); > or writetoscreen(an

[fpc-pascal] arbitrary number of parameters in procedure

2005-08-31 Thread Pianoman
Hi, I have not well understood the docs concerning tvarrecs. How can I create procedure which will accept arbitrary number of parameters? To demonstrate what I want: procedure addnums(a,b,c, of any types var result:sometype); or writetoscreen(any number of parameters of given type. something li