2015-02-07 17:46 GMT-03:00 nacho <0800nacho@gmail.com>:
Hi,
Suppose I do:
Morph new openInWorld

and then:
EllipseMorph new openInWorld

without referencing them to a variable.
How do I access those objects?

Morph new openInWorld inspect.
Morph new openInWorld explore.

or

Morph new openInWorld
right-click inspect, explore or debug

in the opened window, you can use the lower text pane to send messages to the object.


��
Since the only thing I know is that is a "a Morph(428605440)" and a "an
EllipseMorph(448004096)"
If I want to Morph(428605440) addMorph: EllipseMorph(448004096)
How do I achieve this?
Because they are both object living in the system but I can not reference
them.....
Thanks in advance
Nacho





-----
Nacho
Smalltalker apprentice.
Buenos Aires, Argentina.
--
View this message in context: http://forum.world.st/How-to-send-messages-to-an-object-tp4804394.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.