[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Modifying a table while using next()
- From: Matthew Paul Del Buono <delbu9c1@...>
- Date: Tue, 8 Apr 2008 17:03:20 -0400 (EDT)
> ... the behaviour is undefined. Does this just mean
> it may or may not include t.d during the current
> traversal? I can live with that. Or would it produce
> an error?
It can produce an error as well (specifically "invalid key to 'next'"). As a result this is probably not a good choice here. I do agree with the already-recommended solution of having a second table.
-- Matthew P. Del Buono
P.S. In the future, please avoid posting HTML. Post plaintext to the mailing list, as many people's don't read HTML and it just comes out as jibberish.