referencing objects (newbie)

Yoshiki Ohshima yoshiki at squeakland.org
Wed Feb 22 06:33:49 UTC 2006


  Eddie,

> > myEllipse := EllipseMorph new.
> > myEllipse openInWorld.
> > myEllipse color: Color blue
> 
> My next question was going to be "how can I make a morph
> programatically."  Thanks.

  Not quite sure what you mean by "programatically", because the above
code creates an EllipseMorph programatically.

  In tile scripting, the "copy" tile makes a copy of receiver.  You
need to assign the result into a property or use it as an argument
ofor a command (or such).

-- Yoshiki



More information about the Squeak-dev mailing list