In C++, you can pass a parameter to a function using &
so that the parameter you pass it is actually modified
and you do not have to return that parameter.
Like this:
Then if you say:Code:void Function(int &x){ x = 100; }
Then a is actually 100 now.Code:int a; Function(a);
Well, how do you do this in VB?




Reply With Quote