lua-users home
lua-l archive

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


But...

You could accomplish the same goal by nexting through A, and key-
reading B with the retrieved key.

SteveT

* My new 99 cent Kindle book  :  http://www.amazon.com/dp/B006QTBLA2 *
*                 Steve Litt  :  http://www.troubleshooters.com      *


On Sunday, January 15, 2012 04:18:14 AM Kristofer Karlsson wrote:
> No, you should't make that assumption. It may be true for some
> implementations, and then possibly only if they were created in the
> exact same way.
> 
> On Sun, Jan 15, 2012 at 9:58 AM, Dirk Laurie <dirk.laurie@gmail.com> 
wrote:
> > If A and B are tables with exactly the same set of keys,
> > must`next(A,k)` and `next(B,k)` always give the same first return
> > value?