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
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.