Some newb questions

Rich rjseagraves at
Mon Jan 16 18:19:53 UTC 2006

1.  Suppose I were to execute the following block in the Workspace

    L := (1 to: 5) collect: [:x | (x * x) + 2]

What would be the "scope" of L?  Does workspace executed code get
wrapped into a no-parameter block which is then executed?

2.  Is there a short-hand (syntactic) way to say "OrderedCollection
new", the way you can say #() to get a new, empty Array?  Thank you
very much.

-Rich Seagraves

More information about the Squeak-dev mailing list