[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: 'with' statement
- From: Thijs Schreijer <thijs@...>
- Date: Thu, 10 Mar 2016 08:09:20 +0000
> I never thought I'd say this, but I like the way Visual Basic 6 does it:
> with foo
> .x = 1
> .y = some_local_var
> end with
> I don't remember the exact syntax, but the important part is you still
> included the dot from foo.x, so that distinguished properties from other
> variables in outer scopes.
While reading up the thread, I had the same thought. I also like that about VB.
Thijs