> Hi guys. I still have problems with underscore in Pharo 1.3. I want to use
> underscore in both ways: in selectors and as assigment.

Who would tell the system what you mean?

> If I do: Scanner allowUnderscoreAsAssignment: true.
> then it works in selectrs but not in assigment.
>
> If I do String allowUnderscore.
> then it works for assigment but stops working for selector.

This is the point of the design. Maybe the prefix "allow" is not quite
revealing enough, because you cannot have both.

You load the old code with the setting set to true. You fix your
broken assignments and you switch to false to use underscores.

Squeak has decided to go another way and allow both cases kind of
simultaneous. What a broken mess!

Lukas

-- 
Lukas Renggli
www.lukas-renggli.ch

Reply via email to