lua-users home
lua-l archive

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


Yes. Sorry for missing the & op. I mean to show the [] (which mean C is very consistent in the commutative on pointer offset).
On Sat, Mar 28, 2015 at 12:11 PM Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
"rb = base[b]" is equivalent to "rb = *(base+b)" not to "rb = base + b".