[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: String indexing again
- From: David Kastrup <dak@...>
- Date: Sun, 19 Dec 2010 18:10:00 +0100
Dirk Laurie <dpl@sun.ac.za> writes:
>>From the Reference Manual, description of the function string.byte:
>
> [[
> Returns the internal numerical codes of the characters
> s[i], s[i+1], ···, s[j]
> ]]
>
> What better proof do we need that s[i] means the character
> corresponding to the i-th byte of the string s? If not (yet)
> in the Lua language, then at least in the terminology used by
> the author of the reference manual?
That kind of logic leads to Cobol.
--
David Kastrup