The point
Karl Ramberg
karl.ramberg at chello.se
Fri Dec 6 20:28:13 UTC 2002
Stefan Champailler wrote:
>
> Dear All,
>
> I use commonly the x @ y expression to set a point in 2D. Unfortunately,
> I still don't know how to access the X or Y value, in particular. How
> can I do that ?
>
point _ 2 at 3.
n _ point x + 5.
point _ point + (n at 4).
Remember parenthesis or you will get a 3DBalloonVector!
> Morph seems very slow. For example, displaying 30 rectangle and asking
> the to step every 20milisec brings the Squeak VM down. Is that normal or
> is it just because I coded things naively (I must admit it's pretty
> naive up to now, I'm still trying to understand what smalltalk is about)
>
It has mostly to do with screen damage behavior. Look at Preferences ShowScreenDamage
Karl
More information about the Squeak-dev
mailing list
|