Results 1 to 3 of 3

Thread: ByVal

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 1999
    Posts
    184
    Whats ByVal Mean??
    Evan Duffield --------
    --- [email protected]
    - -
    VB6 - Learning Edition
    - -


  2. #2
    Member
    Join Date
    Dec 1999
    Posts
    41
    Byval=By Value
    A way of passing the value, rather than the address, of an argument to a procedure. This allows the procedure to access a copy of the variable. As a result, the variable's actual value can't be changed by the procedure to which it is passed.

  3. #3
    New Member
    Join Date
    Jun 2000
    Posts
    5
    You should be able to find a good answer to that in any beginners programming book. Look for passing parameters by value or by reference.

    Simply put, ByVal means by value and it basically creates a new variable for use locally within the function and does not affect the actual variable that was passed in. ByRef means by reference and it actually passes the physical memory address of the variable and does all of it's work directly on that variable.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width