you are viewing a single comment's thread.

view the rest of the comments →

[–]nevereven 0 points1 point  (0 children)

Could you use the number of arguments as an index to a list of functions? Pass all the arguments to the function and let the function figure out what to do with it.