www.digitalmars.com         C & C++   DMDScript  

D.gnu - Nested Functions

reply meetrb rediffmail.com writes:
I need to present a seminar on D and I have not been able to work out the exact
use of the concept of nested functions.Please help
Mar 16 2003
parent "Sab" <sab neuropolis.org> writes:
<meetrb rediffmail.com> wrote in message
news:b51e4d$2t61$1 digitaldaemon.com...
 I need to present a seminar on D and I have not been able to work out the
exact
 use of the concept of nested functions.Please help
See the links Walter suggested. (I read the first one and that alone made me buy the concept immediately with an "aha, indeed". Mind the access to the outer locals in the example!): <ranjit_ bh hotmail.com> wrote in message news:b4q17a$isb$1 digitaldaemon.com...
 what is the need for the concept of nested functions?
You can see some examples in: www.digitalmars.com/d/pretod.html www.digitalmars.com/d/ctod.html www.digitalmars.com/d/cpptod.html
Mar 17 2003