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

On Tue, Dec 22, 2009 at 6:34 AM, Jonas Maebe <[email protected] > 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_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to