lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> 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