[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Call a local function by name.
- From: Laurent Faillie <l_faillie@...>
- Date: Fri, 03 May 2013 17:14:03 +0200
How to call a local function by it's name ?
local function normMilli( v ) return v/1000 end
local name = 'normMilli'
Then I need the call the function for which the name is stored in name
I know for global function, I can use _G, but I didn't find for local ones ?