I have created a script to inscribe a circle with a series of isosceles triangles. I want to create a copy make some changes to circumscribe the circle.
I could copy each individual tile or recreate from scratch, but that is time consuming and dull work.
Is there an easy way to duplicate a script?
Stephen
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.
squeakland@lists.squeakfoundation.org