lua-users home
lua-l archive

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


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