|
Hi, I am having a very hard time understanding the concept of passing by name and when it is different than passing by reference.I know that if there is a variable outside of the procedure and and another variable with the same name inside the procedure, and the one from the outside is passed to the inside, then which one is the one actually used in the evaluation? I know its supposed to be reevaluated each time a reference to the variable is made, but reevaluated in which scope?
I am probably making things more complicated than they should be, but i cant get name and reference to evaluate differently.
any suggestions, example, etc? kristina
|
i get it by Kristina Matesa, 2001, Nov 11
Local variables are implicitly renamed by Mike O'Donnell, 2001, Nov 11
But global vs. local is not the issue here by Mike O'Donnell, 2001, Nov 11
to: