lua-users home
lua-l archive

Re: Explicit declaration of variables

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


2007年9月17日, Tom Miles <Tom@creative-assembly.co.uk>:
> Hello again,
>
> I'm not going to ask why variables don't need to explicitly declared as
> I have learnt my lesson from my last post, but having spent yet another
> hour or so tracking down a bug due to a typo causing a variable to be
> automotically created and assigned a nil value, I was wondering if
> anyone had written a patch to stop this behaviour?
>
This was recently discussed in the thread called:
Jerome Vuarand's reply to my "table return" query
/Kristofer

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