Delegate
Fabian Claßen
admin at fabs-world.de
Tue Dec 2 11:08:54 PST 2008
Jarrett Billingsley schrieb:
> On Tue, Dec 2, 2008 at 1:30 PM, Fabian Claßen <admin at fabs-world.de> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: admin.vcf
Type: text/x-vcard
Size: 190 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20081202/22fc76f0/attachment.vcf>
More information about the Digitalmars-d
mailing list