On Tue, 14 Jun 2011 09:33:54 +0300, Ary Manzana <a...@esperanto.org.ar> wrote:

On 6/14/11 12:58 PM, so wrote:
On Tue, 14 Jun 2011 08:32:59 +0300, Nick Sabalausky <a@a.a> wrote:

I think Ary's suggestion is very simple and easy to understand. Hybrid
calls
are *only* confusing when an unnamed parameter comes after a named one.

An example to it.

fun(int a, int b, int c, int d)

Say we want to name only c:

fun(2, 3, 1, c:5)
// error: c assigned twice

Remember, the third argument is positional so it's assigned to c. Then you are trying to assign c again. It's an error.

Sorry i don't understand, what should i do?

Reply via email to