Call by value(and not be reference)!

Q

qazmlp1209

While debugging the macros, I could observe that, all the arguments are
passed by reference to a function. Is there a possibility to call by
value?
Basically, I want to retain the value of a variable before and after
the function call. The function can take a copy and modify the value of
it, but it should not change the value of the originally passed
variable. How exactly it can be done?
 
Q

qazmlp1209

Please ignore my post.

I declared the argument as 'ByVal' and it started working as I wanted.
Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top