[Newbies] How can I create a script from within a script?

Steve Thomas sthomas1 at gosargon.com
Mon Feb 28 16:31:43 UTC 2011


I am playing with the idea of creating a scripting language for kids.

So given the script below p1 is being set to an object/Player named Ellipse:

script2
    | t1 t2 p1 |
    p1 := Ellipse
    t1 := 'forward'.
    t2 := 5

How can I get it to "do/execute": *p1 forward: 5*

Stephen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20110228/f1926e11/attachment.htm


More information about the Beginners mailing list