named parameters to functions

novice2 sorry at noem.ail
Fri Oct 12 08:42:07 PDT 2007


> It would be better to implement using syntax that doesn't conflict with
> other parts of the grammar.  Perhaps:
> 
>    window* w = new_window ("alert box", movable: false);
> 

or using other language expirence, e.g. oracle pl/sql:
1 - mixing normal and named params prohibited
2 - use special token between param's name an dvalue (pl/sql uses name=>value )



More information about the Digitalmars-d mailing list