lua-users home
lua-l archive

Re: Proxy tables

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


I like the local copies table approach better than what I'd seen in the
past. Don't you need, however, to use cnext for the second call to next? And
presumably you would then also need cforeach.
Mark
on 7/10/03 1:09 PM, Wim Couwenberg at w.couwenberg@chello.nl wrote:
> repeat
> index, v = next(t, index)
> until index == nil or rawget(table, index) == nil

AltStyle によって変換されたページ (->オリジナル) /