Archived

This forum has been archived. Please start a new discussion on GitHub.

can slice define variable parameter?

hi, i want to define a mathod that have variable parameter, how can i do it?

Comments

  • benoit
    benoit Rennes, France
    Hi,

    There's no direct support for variable arguments in Slice methods. You'll either have to simulate it with a Slice sequence or using a method that defines multiple optional parameters (see here for more information on optional parameters).

    Cheers,
    Benoit.
  • thinks!

    thinks! i'll use this method!