lua-users home
lua-l archive

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


On Thu, Aug 7, 2014 at 3:00 PM, Mason Mackaman <masondeanm@aol.com> wrote:
> I get an error when I execute “setmetatable(‘’,{__index=string})” did you mean debug.setmetatable(‘’,{__index=string}) like you used in an earlier post?

Yes, sorry! "Normal" setmetatable() doesn't work for strings, only
debug.setmetatable().

-- 
NI!

() - www.asciiribbon.org
/\ - ascii ribbon campaign against html e-mail and proprietary attachments