lua-users home
lua-l archive

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


  Every Lua beginner makes the same mistake: using local variables in
interactive mode of Lua standalone interpreter.

  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