in reply to Pass by Value does not work
You haven't made a 'deep' copy of your data structure, which means the array references are still pointing to the original data. You've only copied the references themselves...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Pass by Value does not work
by Bloodnok (Vicar) on Feb 21, 2009 at 12:17 UTC | |
|
Re^2: Pass by Value does not work
by swampyankee (Parson) on Feb 21, 2009 at 12:44 UTC | |
by almut (Canon) on Feb 21, 2009 at 13:03 UTC | |
by swampyankee (Parson) on Feb 21, 2009 at 15:01 UTC |