Login  Register

Passed by references and by value

Posted by nacho on Sep 25, 2014; 6:14pm
URL: https://forum.world.st/Passed-by-references-and-by-value-tp4780289.html

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.