Iterators? (Was: Squeak practical use? ...)
Tim Rowledge
tim at sumeru.stanford.edu
Thu Jan 31 04:19:21 UTC 2002
Scott A Crosby <crosby at qwes.math.cmu.edu> is claimed by the authorities to have written:
>
> foo: x ifSucces: succBlock ifFail: failBlock
> blah1 ifTrue: [ ^succBlock value ]
> blah2 ifTrue: [ ^failBlock value ]
> succBlock := [ blah . [^sucBlock value]]
Improper code I'm afraid. Can't assign to a parameter.
tim
--
Tim Rowledge, tim at sumeru.stanford.edu, http://sumeru.stanford.edu/tim
Strange OpCodes: HALT: No-Op
More information about the Squeak-dev
mailing list
|