A function that return an object

  • Thread starter Thread starter Elfstone
  • Start date Start date
E

Elfstone

Guest
Hello,

I have created a function which return an element of a List (Type of a class).

My question is : Can I modify this element in the parent procédure (after the call of the function that return the element of the List).

The parent procedure and function are in the same class.

I just want to know if the element will actualy be modify by the parent procedure or not ?

I know, It have been preferable to give this element as parameters by reference, but I analyse the code that have been done.

Thanks a lot

Continue reading...
 
Back
Top