First page Back Continue Last page Overview Graphics
Block syntax
The header must be delimited by vertical bars, so
- [:input | local | becomes...
- [| :input local |
This removes ambiguity over local names appearing to be messages to the context.
Periods separate expressions, and empty expressions between or after separators return Nil.
There's also no implicit “^ self”! The programmer has more explicit control, but also the code is more manifest about return values.
Notes: