[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Create new local from C?
- From: "J. Perkins" <jason@...>
- Date: Fri, 22 Feb 2002 10:31:31 -0500
Okay, I read the manual this time and even tried searching the
archives, so now I can safely ask...
Is there some trick I can use to create a local variable in a chunk
from C? What I'm trying to is create Lua function like:
Which will do some bookkeeping on the C side, and then set a local
variable named "NewTypeName". Must be local. I know I can do
local NewTypeName = CreateNewType("NewTypeName")
I'm just trying to be overly clever. ;)