[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Assignment not operator
- From: Matthew Paul Del Buono <delbu9c1@...>
- Date: Sat, 9 Aug 2008 23:37:27 -0400 (EDT)
As a side note, for clarification,
>Having said that, what is the result of the following?
>print(a,b = true,nil)
It is arguable that the result of this should be equivalent to
For the same argument, then, let us take the following:
if a,b = true,nil then
print(not not(a,b = true,nil))
if true, nil then print(true) end
Results in the error: 'then' expected near ','
Which is the most logical reduction, imho.
-- Matthew P. Del Buono