Advertisement
Guest User

Untitled

a guest
Oct 24th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. /* I see that if you evaluate your groups in the wrong order they won't work - well they will but you have to re-evaluate them a second time. So, my question is: Do you have to put them in the right order in your code, or is there a way of forcing them to create themselves in the right order - I know that there is also the addAction: argument \addToHead etc.
  2. */
  3.  
  4.  
  5. (
  6. // Start here to see what's happening.
  7. s.boot;
  8. s.plotTree;
  9. )
  10.  
  11. /* This version onl't works if you evaluate two times as ~filtGroup needs to wait for ~revGroup before creating itself
  12. */
  13. (
  14. ~sigGroup = Group.new;
  15. ~filtGroup = Group.after(~revGroup);
  16. ~revGroup = Group.after(~sigGroup);
  17. )
  18.  
  19.  
  20. /*
  21. This version works as everything is evaluates in the correct order.
  22. */
  23.  
  24. (
  25. ~sigGroup = Group.new;
  26. ~revGroup = Group.after(~sigGroup);
  27. ~filtGroup = Group.after(~revGroup);
  28. )
  29.  
  30. /*
  31. I've tried different version (ex: ~filtGroup = Group.before(~filtGroup)), but this still doesn't work. Any suggestions welcome.
  32. */
  33.  
  34. (
  35. ~sigGroup = Group.head;
  36. ~filtGroup = Group.after(~revGroup);
  37. ~revGroup = Group.before(~filtGroup);
  38. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement