Variable number of arguments in VB

Posted by Kratz on Stack Overflow See other posts from Stack Overflow or by Kratz
Published on 2010-04-13T14:11:56Z Indexed on 2010/04/13 14:13 UTC
Read the original article Hit count: 145

Filed under:

How to create a function with variable number of arguments in visual basic? ex.

x =  Sum(1,2,3)
y =  Sum(1,2)

Function Sum('how to declare argument here')
'Is there any special argument manipulation inside function before it is usable?
End Function

© Stack Overflow or respective owner

Related posts about vb6