[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.4.0 (work1) now available
- From: Gavin Wraith <gavin@...>
- Date: Wed, 14 Mar 2018 17:33:27 GMT
In message <20180314141110.GF12957@arraial.inf.puc-rio.br>
Roberto Ierusalimschy <roberto@inf.puc-rio.br> wrote:
>> I mean: if I can pass something to a function, and I can get it back from a
>> call... well it is a value!
>
> That is true. But you cannot pass 'undef' to a function or return
> an 'undef' from a function (anymore than you can pass 'while' to a
> function).
It seems to me that the proposed syntax "x = undef" looks like
an assignment of a value. Why not "x undef" or "undef x"? Or have
I missed that discussion? Sorry for the noise if I have.
--
Gavin Wraith (gavin@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/