lua-users home
lua-l archive

RE: about the next version

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


> - declaration of globals: we introduced global declarations:
> 
> global a,b,c
> global a,b,c in T
> global in T -- change the default
I can't remember if this has been discussed before, but I would very
much like an option (either in Lua or C) that changes the default scope
of variable declarations from global to local.
Thanks,
Curt

AltStyle によって変換されたページ (->オリジナル) /