lua-users home
lua-l archive

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


Hi,

 

I am calling a Lua file from my C++ application. Suppose, I have lua code like,

 

--------------------------------------------------------------------

b = LuaGameObject(gameobject)

 

b:setBalance(50)

b:setMessage("from scripts")

var1  = b:getBalance()

var2 = b:getMessage()

---------------------------------------------------------------------

 

Now is it possible to get all available method list by typing “b:”, so that I can select the required method from that list.

This functionality is working fine for system functions in SciTE editor. (eg, by typing “io.w”, user can get option for choosing “write”).

 

Regards,

Amitendra M