Hi there
I wonder if anyone can help out a newbie. I am trying to understand the difference between passing variables by reference or value. This is what I understand so far:
1. Passing parameters by value is when the variable is copied into the parameter list of a function or procedure. The value is independent and remains unchanged when passed.
2. Passing parameters by reference is when a value being passed is linked to the original value. THis means that the original value can be altered.
I am not sure on what occasion you would use what and for what reasons...I would be really grateful if someone could explain this to me...
Thanks in advance!
Potsuki :)