1 Reply Latest reply on Oct 31, 2006 12:37 AM by Peter Lorent

    instance of myClass

    Kosssakossakossa
      I need to make an instance of a dynamic class called myClass by setting a variable to "new myClass()" and then making a copy of that variable. The thing is that when I do this the variables in myClass seems to be static and changing a variable value in the copy changes that variable value in the original and vice versa. The code below describes it better. The trace should return "Hello world" but returns "world world". What have I missed? :)