Re: Quiz question
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Quiz question
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: 2014年3月28日 09:01:40 -0300
> Suppose you make local copies of each and every one of the 150 values
> in the Lua 5.3 standard libraries and then set their values in _ENV to nil.
>
> Which, if any, of the local functions are now broken?
Most probably print stops working because it calls tostring which it
expects to exist as a global. This is by design and is documented.
This is not special to 5.3. It's been like that for ages.
Are there others?