How Nested Functions Work, part 1

Michiel Helvensteijn m.helvensteijn.remove at gmail.com
Wed Sep 2 13:23:04 PDT 2009


Michiel Helvensteijn wrote:

> Basically, any function that reads i may not be called before i is
> declared, nor in i's initialization. Of course, in reality, it depends on
> the control flow within the function. But that's holy grail stuff. So:
> conservatively.

Oh, you may also not take a delegate of the function before i is declared.
Same reason.

-- 
Michiel Helvensteijn




More information about the Digitalmars-d mailing list