[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: string.len(str) vs str:len()
- From: Elias Barrionovo <elias.tandel@...>
- Date: Thu, 7 Aug 2014 15:04:49 -0300
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
- References:
- string.len(str) vs str:len(), Mason Mackaman
- Re: string.len(str) vs str:len(), Thiago L.
- Re: string.len(str) vs str:len(), Mason Mackaman
- Re: string.len(str) vs str:len(), Thiago L.
- Re: string.len(str) vs str:len(), Mason Mackaman
- Re: string.len(str) vs str:len(), Coda Highland
- Re: string.len(str) vs str:len(), Thiago L.
- Re: string.len(str) vs str:len(), Mason Mackaman
- Re: string.len(str) vs str:len(), Coda Highland
- Re: string.len(str) vs str:len(), Mason Mackaman
- Re: string.len(str) vs str:len(), Mason Mackaman
- Re: string.len(str) vs str:len(), Mason Mackaman
- Re: string.len(str) vs str:len(), Elias Barrionovo
- Re: string.len(str) vs str:len(), Mason Mackaman