lua-users home
lua-l archive

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


> >  if a = 1 then print() end
> >  --> stdin:1: '==' expected near '='
> 
> I don't agree with this because it implies that Lua only expects the
> '==' token after 'a'. I think that could be more confusing.

No, the message would be issued only when Lua sees '='.