[DGD] Variable issue

Petter Njyström pettricken at yahoo.se
Tue Apr 9 13:54:12 CEST 2002


I have a problem with one variable (a mapping) being
affected when I change another variable in another
object, which I have assigned the value of the first
mapping.  I am a beginner, so be nice!

This is what I mean:

In obj1 I have a mapping map1
In obj2 I have a mapping map2

In obj2 I do: map2 = obj1->query_map1(); /* which
returns map1 */

Now, when I manipulate map2, I will end up with having
map1 changed aswell.  I want to avoid this.  What
should I do?

Thanks,

Petter

_____________________________________________________
Hitta snörapporter... 
från 500 olika skidorter i Europa
på http://se.snow.yahoo.com
_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list