Is it possible to design a rebol function that takes a variable number of 
arguments, ie:

va-func 1 2
va-func 1 2 3
va-func 1 2 3 4

What immediately comes to mind is to use a block for the varargs part of the 
call, ie

va-func 1 [2]
va-func 1 [2 3]
va-func 1 [2 3 4]

But I thought I would just jog the brains of those around me :-)

terrence-brannon: [[EMAIL PROTECTED] perl-refugee myth-gamer]
free-email:       http://www.MailAndNews.com
free-usenet:      http://www.mailAndNews.com
; all the above is real REBOL code, believe it or not.

Reply via email to