Hi,
In PBE says that ordinary objects' ivars are passed by references and small
integers are passed by value.

Strange I do not remember having written that.
Especially because in Smalltalk this has no real interest.

Is there a way to know if a class is passed by reference or by value?
In Smalltalk consider that everything is an object and that you pass a reference to the object.
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