[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: In praise of globals
- From: Josh Simmons <simmons.44@...>
- Date: Wed, 17 Apr 2013 14:15:40 +1000
On Wed, Apr 17, 2013 at 2:09 PM, Andrew Starks <andrew.starks@trms.com> wrote:
>
> How about if the following were allowed:
>
> Local, followed by one or more variable names, separated by a comma and not
> followed by an equal sign, is to be read as the equivalent of assigning a
> global variable of the same name to the local scope. Such that:
>
> local print, table, math, coroutine.create
>
> is equivalent to:
>
> local print, table, math, create = print, table, math, coroutine.create
>
This topic has been discussed to death on this list, do we really have
to discuss it again?