Re: Popularity contest
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Popularity contest
- From: Xavier Wang <weasley.wx@...>
- Date: 2011年9月27日 16:33:40 +0800
2011年9月26日 Artur Galyamov <artur-pub@yandex.ru>:
> 26.09.11, 14:43, "Egil Hjelmeland" <privat@egil-hjelmeland.no>:
>> Even more generic:
>>
>> local a,b,c from t
>>
>> being equivalent to
>>
>> local a,b,c = t.a, t.b, t.c
>
> If I remember correctly, it was suggested several months ago, but using "in" keyword:
>
> local min, max, floor in math
>
> No new keywords there. I think it would be nice way to easily localize globals.
>
>
Yes, I like this way, too :)