T
thomasp
Will someone tell my the difference between ByRef and ByVal when passing
values between subs?
Thanks,
Thomas
values between subs?
Thanks,
Thomas
Will someone tell my the difference between ByRef and ByVal when passing
values between subs?
Will someone tell my the difference between ByRef and ByVal when passing
values between subs?
Klaus Wassmann said:Coming from C++ I was surprised and confused,
when I discovered that objects passed ByVal hasn't been copies.
Ken Tucker said:Hi,
ByRef allows you to send changes made to the variable back. Any
changes made to variable sent byval are lost.
Ken