Dudsmack
11-08-2003, 01:36 PM
How can I specify that I want to pass something by refrence rather than by value?
For example:
a = 4;
b = a;
I want be to be a refrence to a, in that changing the contents of 'b' would be like changing the contents of 'a'.
Likewise when you set one object equal to the other it defaults to passing by refrence, how could I specify for it to pass by value instead?
For example:
a = 4;
b = a;
I want be to be a refrence to a, in that changing the contents of 'b' would be like changing the contents of 'a'.
Likewise when you set one object equal to the other it defaults to passing by refrence, how could I specify for it to pass by value instead?