Janderson ask at
Tue Dec 2 21:36:26 PST 2008

Fabian Claßen wrote:
> Jarrett Billingsley schrieb:
>> On Tue, Dec 2, 2008 at 1:30 PM, Fabian Claßen <admin at> 
>> wrote:
>>>                result += dg;
>> Just change that line to "result += dg();".  A delegate is like a
>> function; you call it to get the value.
> Oh thank you.
> I see. That's a stupid mistake of mine :D
> But I love D.

Great Stuff.  We where all at this point at some time.  Its fine that 
you posted to this group.  However you might try posting your questions 
to D.learn next time, simply so other people who have the same problem 
can easily find the solution.



More information about the Digitalmars-d mailing list