If i declare a variable in one sub, but i want to pass it to another sub that I call, do i still have to declare the type of the variable like this:
sub a()
dim b as string
call c(b)
end sub
sub c(b as string) 'Is this declaration still needed??
end sub
if i leave it as subc(b), would that be made of type variant or preserve the string type, thanks!!
sub a()
dim b as string
call c(b)
end sub
sub c(b as string) 'Is this declaration still needed??
end sub
if i leave it as subc(b), would that be made of type variant or preserve the string type, thanks!!