[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lstrings
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 23 May 2000 22:09:10 -0300 (EST)
>Are all strings within Lua represented as lstrings?
Yes. All strings within Lua are byte arrays with an explicit length stored.
The length is a long, and so the strings can be really long :-)
See the type TString in lobject.h for details.
But doesn't the manual say so?
Lua is eight-bit clean, and so strings may contain any 8-bit character,
including embedded zeros.