[fpc-pascal] Delphi compatible anonymous functions
Sven Barth
pascaldragon at googlemail.com
Mon May 26 11:35:10 CEST 2014
Am 26.05.2014 09:52 schrieb "Michael Schnell" <mschnell at lumino.de>:
>
> On 05/23/2014 05:46 PM, Craig Peterson wrote:
>>
>> On 5/23/2014 2:09 AM, Michael Schnell wrote:
>>>
>>> rather simple:
>>> - declaring the event method as something like "closure" resulting it
>>> having it do an auto-free on exit.
>>>
>>> more advanced (needing the RTL to provide pool of threads to fire on
>>> demand):
>>> - "parallel loop" and "future" support like in "Prism"
>>>
>>> (In fact I don't see "anonymous functions" - see thread topic - here.)
>>
>> I'm not sure exactly what you're asking/proposing. Yes, there are
>> alternative syntaxes for closures that might be more "Pascalish", but I
>> want something that's compatible with Delphi because we need to keep
>> using it on Windows for the foreseeable future.
>
> Hmmm
>
> "parallel loop" and "future" in fact _is_ "compatible with Delphi": here
Delphi Prism. (It's not the fault of Lazarus, that Delphi is not compatible
with itself :-( .)
>
That's because "Delphi Prism" is not "Delphi". It's a product they licensed
and added the name "Delphi Prism" on. Oxygene (what Prism is based on) was
never intended to stay Delphi compatible.
Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20140526/8f6a6c97/attachment.html>
More information about the fpc-pascal
mailing list