referencing objects (newbie)
Francisco A. Lizarralde
st.easy.rider at gmail.com
Fri Feb 17 18:20:21 UTC 2006
Hi Eddie,
Try this
myEllipse := EllipseMorph new.
myEllipse openInWorld.
myEllipse color: Color blue
and you can continue sending messages to myEllipse and watching the
results.
Hope this helps.
Regards,
Francisco
El vie, 17-02-2006 a las 10:42 -0700, Eddie Hillenbrand escribió:
> Hi everyone,
>
> 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.
>
> Thanks,
>
> Eddie
>
More information about the Squeak-dev
mailing list
|