Walter Bright wrote:
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.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.