[Interval Problem] 2 cents

Andres Valloud sqrmax at cvtci.com.ar
Fri Jul 30 22:34:52 UTC 1999


Hi.

Alan Kay wrote:

> But then you can't intercept and override the meaning of the name...

Interval methods don't even use accessors... I don't understand a
millicent :(. For instance:

do: aBlock

	| aValue |
	aValue _ start.
	step < 0
		ifTrue: [[stop <= aValue]
				whileTrue: 
					[aBlock value: aValue.
					aValue _ aValue + step]]
		ifFalse: [[stop >= aValue]
				whileTrue: 
					[aBlock value: aValue.
					aValue _ aValue + step]]

I do not see any accessor there.
Andres.





More information about the Squeak-dev mailing list