Francisco Garau wrote:
> There is a missing line to make the below example evaluate to true. Can you spot
> it?
>
> [
> | pointClass setX setY squared |
> pointClass :=
> [ | x y |
> setX := [ :aNumber | x := aNumber ].
> setY := [ :aNumber | y := aNumber ].
> squared := [ (x * x) + (y * y) ].
> #end.
> ].
> setX value: 3.
> setY value: 4.
> squared value.
> ] value = 25
>
>
pointClass value
cheers -ben