lua-users home
lua-l archive

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

> Hi, I want to print the starting address of string in Lua.
> So is there any method to do that???

No. There is no official way, and (except for debugging) you have no
reason to do that.
If you really need that feature, write a function in C for example like this:

static int string_address(lua_State* L)