lua-users home
lua-l archive

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


> From the "binary file dump" example at page 199:
> 
>   for _, b in pairs{string.byte(bytes, 1, -1)} do
> 
> Shouldn't it be "ipairs" to guarantee the correct traversal order?

Sure!! Thanks for the correction.

-- Roberto