Variable parameter synonym functions

Mikey mikeythek at gmail.com
Thu Oct 23 07:51:38 EDT 2014


Has anybody come up with an easy way to write functions or handlers that are synonyms for other functions/handlers where both take a variable number of parameters?

If I want to have a handler "a" and synonym "aardvark", I would normally write

on a name
   aardvark name
end a

on aardvark name
   answer "I'm an aardvark named"&&name
end aardvark


Now imagine doing that while supporting a variable number of parameters.

Sent from my iPhone



More information about the use-livecode mailing list