lua-users home
lua-l archive

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


On Mon, Jan 14, 2002 at 05:10:58PM -0500, RLake@oxfam.org.uk wrote:
> 
> > This is gross. Why should we litter all our code with obtuse "?!?!!"
> > puntcuation?
> 
> Well, I knew I would run into opposition :-)
> 
> The point is that 99.9% of the time you wouldn't need to. It would just
> work logically. The only time you would need to worry about it is when you
> were trying to put nil into a table. You can't currently put nil into a
> table, and that (as I understand it) is what all the fuss is about.

I thought I had to use your new operators both when I put nil into a
table AND when I try and take it out. 

I already have that.. it's called:

table.a = 0
if table.a ~= 0 then
  print "true"
else 
  print "false"
end

-- 
David Jeske (N9LCA) + http://www.chat.net/~jeske/ + jeske@chat.net