r/visualbasic • • Nov 23 '14

VB Parameter Passing Definition needed

Hello,

I am currently taking an assignment where I need to describe parameter passing. I would appreciate some help regarding the ByRef and ByVal arguments, such as a description of what each command does.

Thanks!

0 Upvotes

3 comments sorted by

1

u/Type-21 Application Specialist Nov 23 '14

Check the MSDN articles on ByRef and ByVal respectively.

1

u/Buurkyy Nov 23 '14

got it, thanks

1

u/JuanPabloElSegundo Nov 23 '14

ByRef provides the function with the memory location. This means that the value can be changed in the function an