Does Lua have object scope, for files ,functions, statements ? can u have a variable that goes out of scope and releases itself, at the end of a for loop or a file or function.. If so how ?
Yes, this is what local variables are for.
- Peter Shook