lua-users home
lua-l archive

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


Quoth HyperHacker <hyperhacker@gmail.com>, on 2010-12-20 14:03:58 -0700:
> That [supporting assigning to characters in strings] could be done
> with __newindex.

No it can't.  Lua strings are immutable and for good reason.

   ---> Drake Wilson