lua-users home
lua-l archive

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


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/