Hi,
I want to create a function which I can't know for certain how much variables will be passed to it.
I'd like to know if there is something like args[] (from c++) so I can write something like this:
function DoSomething( MyVar, ... )
{
for each Elem in args
' ...
next
}
Thanks,
Shay
---------------
"We'll never give up, it's no use" (Blink 182)
I want to create a function which I can't know for certain how much variables will be passed to it.
I'd like to know if there is something like args[] (from c++) so I can write something like this:
function DoSomething( MyVar, ... )
{
for each Elem in args
' ...
next
}
Thanks,
Shay
---------------
"We'll never give up, it's no use" (Blink 182)