Translations:User:Psychoslave//Lua reference manual translation stub/1393/en

Lua functions are lexical closures. A common idiom is to declare "private static" variables as locals in the scope where the function is declared. For example,