相关疑难解决方法(0)

VB中可变数量的参数

如何在visual basic中创建具有可变数量参数的函数?恩.

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
Run Code Online (Sandbox Code Playgroud)

vb6

22
推荐指数
2
解决办法
1万
查看次数

标签 统计

vb6 ×1