referencing objects (newbie)

Yoshiki Ohshima yoshiki at squeakland.org
Fri Feb 17 19:22:01 UTC 2006


  Eddie,

> I just downloaded Squeak two days ago, so far I love it.  I want to
> use it to teach my little sister how to program.  But first I need
> some help figuring out the basics.
> 
> How do I refer to objects I create?

> If I create, for example, an EllipseMorph how can I refer to it in a
> Workspace, so I can send it messages using "do it"?  I've figured out
> how to open a Viewer and change the object's name, but if I try to
> send it a message in a Workspace I get an "Unknown variable" error.

  How old is your sister?  You (she) may be able to do what she wants
just all with tile scripting.

  By the way, In the menu (accessible from the button on the left in
the title bar) of a Workspace, there is a checkbox called "create
textual reference to dropped morphs".  If you check it on, you can
drop a Morph onto the Workspace and get a variable definition for it.

-- Yoshiki



More information about the Squeak-dev mailing list