Home Help Center

can slice define variable parameter?

abchjbabchjb Member jianbin huOrganization: pinan securities Co, LtdProject: use Ice as middleware and publish quote
hi, i want to define a mathod that have variable parameter, how can i do it?

Comments

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    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.
  • abchjbabchjb Member jianbin huOrganization: pinan securities Co, LtdProject: use Ice as middleware and publish quote
    thinks!

    thinks! i'll use this method!
Sign In or Register to comment.