lua-users home
lua-l archive

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



On Oct 1, 2015 6:52 PM, "Egor Skriptunoff" <egor.skriptunoff@gmail.com> wrote:
>
>   Every Lua beginner makes the same mistake: using local variables in
> interactive mode of Lua standalone interpreter.

That's called learning,  and working through it is a valuable  experience.

>
>   Probably, it is worth to display a warning "Local variables are lost
> due to end of chunk" (or the like) after every chunk consisting solely
> of locals definition entered by user in REPL.
>
> -- Egor