[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: sunday afternoon whishlist
- From: HyperHacker <hyperhacker@...>
- Date: Sun, 9 May 2010 15:55:59 -0600
On Sun, May 9, 2010 at 15:37, Jonathan Castello <twisolar@gmail.com> wrote:
> In regards to the "tbl[] = value" suggestion, I like it. My only
> problem is, what would tbl[] return in an __index context? "tbl[] =
> value" is obvious enough, but I'm not sure what "value = tbl[]" would
> do without being un-obvious.
>
> ~Jonathan Castello
>
value = tbl[] doesn't necessarily have to be valid, but perhaps it
could be a shortcut for value = next(tbl)?
--
Sent from my toaster.