On Tue, Dec 22, 2009 at 1:42 AM, Paul Ishenin <[email protected]> wrote: > 22.12.2009 11:30, Flávio Etrusco wrote: >> >> Hi all, >> I want to propose a syntax extension for the compiler to check >> parameters' name on function/procure calls. Would such a patch be >> accepted? Does anybody have a suggestion for the syntax? (i guess >> something along the line of a compiler directive to go together with >> the parameter value to avoid syntax incompatibility...) > > You mean something like Basic has: > > CallSomething(Arg1=10, Arg2='Test') ? > > Best regards, > Paul Ishenin. >
On Tue, Dec 22, 2009 at 1:42 AM, Paul Ishenin <[email protected]> wrote: > 22.12.2009 11:30, Flávio Etrusco wrote: >> >> Hi all, >> I want to propose a syntax extension for the compiler to check >> parameters' name on function/procure calls. Would such a patch be >> accepted? Does anybody have a suggestion for the syntax? (i guess >> something along the line of a compiler directive to go together with >> the parameter value to avoid syntax incompatibility...) > > You mean something like Basic has: > > CallSomething(Arg1=10, Arg2='Test') ? > > Best regards, > Paul Ishenin. > Exactly! I didn't know/remember Basic had that. Oh well, another feature I'll have to appreciate in VB (along with the - shell-like, but poorly implemented - "begin block by default" and specific block closers) despite my despise for the language ;-) -Flávio _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
