[fpc-devel] Idea/question about a language (syntax) extension

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Dec 22 13:05:03 CET 2009


On 22 Dec 2009, at 13:00, Flávio Etrusco wrote:

> On Tue, Dec 22, 2009 at 6:34 AM, Jonas Maebe <jonas.maebe at elis.ugent.be 
> > wrote:
>>
>> On 22 Dec 2009, at 06:27, Alexander Klenin wrote:
>>
>>> I'd say rather something like
>>>
>>> CallSomething(Arg1:=10, Arg2:='Test')
>>>
>>> which is already sort-of-supported by Delphi for automation classes:
>>>
>>> http://stackoverflow.com/questions/885942/named-optional-parameters-in-delphi
>>
>> FPC also already supports it in that scenario.
>
> Interesting. I guess this situation is little easier because the way
> Automation procedure calls pass parameters, right?

I have no idea. I know it exists, but I have no clue at all about how  
it works.

> But what's your
> opinion on extending it to standard procedures?

I have no opinion on that.


Jonas


More information about the fpc-devel mailing list