[squeakland] How can I duplicate a script?

David Corking lists at dcorking.com
Tue Jun 22 15:36:11 EDT 2010


Steve Thomas  wrote:

> Is there an easy way to duplicate a script?

The only way I have found is to duplicate the object (with the green
halo button).  I often miss copy and paste when scripts get long and
complicated.  However the lack of it has sometimes been a blessing in
disguise.

Firstly, it encourages me to keep scripts short (so I can write them
again if I have to)

Secondly, rather than repeat code, I try to figure out a way to make
it work more simply.


More information about the squeakland mailing list