_G function inside table
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: _G function inside table
- From: Kev Lugli <kevlugli@...>
- Date: 2011年6月24日 16:57:04 -0300
Hi, I'm trying to do something like this, but I've got no success yet.
a = 'func'
var={}
function _G['var.'..a](a)
print 'a'
end
var.func()
I hope you can help me solve this.
Thanks