in reply to RE (tilly) 3 (closures): for loops
in thread for loops, closures
The first case half-way works.
No, it fully works. The error in pass two is a logic error. This means, it doesn't do what I wanted. The first pass does what I want, and even passes strict. My problems were: A) a failure to grok that closures were using a deeply linked reference, and not a copy, and B) a failure to understand that for (;;) is not at all the same as for(), the latter doing what I would expect of it in each case.
Paris Sinclair | 4a75737420416e6f74686572 pariss@efn.org | 205065726c204861636b6572 http://sinclairinternetwork.com
|
|---|