lua-users home
lua-l archive

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


On Fri, Aug 05, 2005 at 07:02:40PM -0500, Rici Lake wrote:
> 
> On 5-Aug-05, at 6:21 PM, Glenn Maynard wrote:
> 
> >But pointing to code that *uses* variables in other languages is
> >irrelevant, if you're talking about code that *declares* variables.
> >"i = 0" doesn't declare anything (in C).
> 
> i = 0 doesn't declare anything in Lua, either.

"declaring" is entirely different in Lua and C (the word hardly applies
to globals in Lua).  That's why the comparison seems mostly meaningless.

-- 
Glenn Maynard