Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] varargs in rebol?

From: princepawn::mailandnews::com at: 31-Aug-2000 10:29

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: [[princepawn--yahoo--com] 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.