lua-users home
lua-l archive

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

>> In this case, I would prefer to stay with my current loadstring() solution ...

You can store a local function in any variable. I mean, you could even create a local function and make it global by setting a name in global scope to its value.

You can even make your own table with functions that are "local" to it in the sense that they can only be accessed through the table.

Why do you want a "local" function?