Hi,
i wonder how can i use array as a value to be sent to sub
like:
public sub (array)
...
end sub
i need the syntax as well.
TIA
Printable View
Hi,
i wonder how can i use array as a value to be sent to sub
like:
public sub (array)
...
end sub
i need the syntax as well.
TIA
say you want to sent array of string
publib sub test(s() as string)
..... code
end sub
call the sub, like this
dim s() as string
redim s(10) 'set to 11 elements
test(s)
HTH
cksiow
http://vblib.virtualave.net - share our codes
Thanx !!!