Hi,

Most classes are passed by reference including those that were defined by
user.
But classes like integer are passed by value.
I think it's similar to C#.
I may be wrong, so better wait for another more competent reply:)

Best,
Mark

2014-09-25 21:14 GMT+03:00 nacho <0800na...@gmail.com>:

> Hi,
> In PBE says that ordinary objects' ivars are passed by references and small
> integers are passed by value.
> Is there a way to know if a class is passed by reference or by value?
> Only small integers are passed as value?
> Thanks in advance
> Nacho
>
>
>
>
>
> -----
> Nacho
> Smalltalker apprentice.
> Buenos Aires, Argentina.
> --
> View this message in context:
> http://forum.world.st/Passed-by-references-and-by-value-tp4780289.html
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>
>

Reply via email to