Hi Jecel,

Am 01.09.2011 um 15:17 schrieb Jecel Assumpcao Jr.:
> It is frustrating for me that while the Squeak VM could easily handle an
> expression like
> 
> myView add: <yellowEllipseMorph> copy.
> 
> I have no way of typing that. I can't use any object as a literal nor as
> input. In Etoys I can get close enough by getting  a tile representing
> the yellowEllpiseMorph from its halo and use that in expressions. In
> Self I could add a constant slot with some easy to type value, like 0,
> and then drag the arrow from that slot to point to the object I really
> wanted. It was a bit indirect but it worked and I used this a lot. The
> nice thing about having something like this is that you never need
> global variable again.

umm …

1. Morph new openInWorld
2. open an inspector on the morph
3. in the inspector's evaluation pane, do, e.g., "Smalltalk at: #myMorph put: 
self"

Step 3 looks equivalent to dragging an arrow in Self. Not less indirect.

Maybe I'm misunderstanding you. :-)

Best,

Michael

-- 


Dr. Michael Haupt | Principal Member of Technical Staff
Phone: +49 331 200 7277 | Fax: +49 331 200 7561
Oracle Labs 
Oracle Deutschland B.V. & Co. KG, Schiffbauergasse 14 | 14467 Potsdam, Germany
        Oracle is committed to developing practices and products that help 
protect the environment

_______________________________________________
fonc mailing list
[email protected]
http://vpri.org/mailman/listinfo/fonc

Reply via email to