Walter Bright wrote:
But you can do that with the 'with' statement!

The with goes at the use end, not the object declaration end. Or I read the spec wrong.
So does the scope guard. I think scope guard solves the same problem as the with-statement, only it does it in a more flexible and arguably sexier way.

Reply via email to