Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x := Object clone do(
- children := List clone
- r := block(
- self children foreach(c, c print)
- self children foreach(c, c ?r)
- self children foreacn(c, c print)
- )
- )
- y := x clone
- x children append(y)
- "start" print
- x r print
- "end" print
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement