lua-users home
lua-l archive

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


I want to change the way nil works. In particular:
  number + nil       -> nil    #not error
  nil + number       -> nil    #not error
  string .. nil      -> nil    #not error
  nul .. string      -> nil    #not error

That is nil works sort of like NaN, everything it touches changes to 
nil also. What best (fastest run time) way to achieve this.

Paul Matthews