There are two ways to pass arguments to a procedure in Visual Basic: ByVal and ByRef.
This refers to whether a copy of the argument is passed to the
procedure (ByVal - the value is passed) or whether the actual argument
itself is passed (ByRef - a reference to the argument is passed). The
default for VB 6 is to call ByRef.
阅读(752) | 评论(0) | 转发(0) |