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!
I don't agree that having both at the same time is a mess. In fact, I need exactly that: 1) Sometimes I load code which uses _ as assigment 2) Sometimes I load packages which use _ as selector (like Glorp). So now I cannot have both. It means that if I load Glorp, I cannot load code that needs _ as assigment. If I load code that needs _ as assigment, I cannot load Glorp. THAT means a "broken mess" for me. Thanks anyway.
Lukas
-- Lukas Renggli www.lukas-renggli.ch
-- Mariano http://marianopeck.wordpress.com