I understand the difference between ByVal and ByRef. My questions stems
from something I was told by several VB programmers:

ByRef is faster than ByVal.

However, I have been reading the book VB6 Error Coding and Layering by Tyson
Gill. He states that although ByRef is faster, it is not measurable in most
cases, and recommends using ByVal for safety purposes (less errors and such
because you cannot modify the value).

Is he correct? How measurable is the speed difference between ByVal and
ByRef? I am not concerned with external stuff (dll's and such) but just
within the project.

--

Eric D. Burdo, Red-Leif International
VB Programmer and Consultant
<http://www.redleif.com/vb>

*** Please reply to the newsgroup so all can benefit. ***