aboutsummaryrefslogtreecommitdiffstats
path: root/docs/control-structures.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/control-structures.rst')
-rw-r--r--docs/control-structures.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/control-structures.rst b/docs/control-structures.rst
index e03d8d6a..260d6eee 100644
--- a/docs/control-structures.rst
+++ b/docs/control-structures.rst
@@ -100,11 +100,13 @@ of unused parameters (especially return parameters) can be omitted.
f({value: 2, key: 3});
}
- // omitted parameters
+ // omitted name for parameter
function func(uint k, uint) returns(uint) {
return k;
}
}
+
+Note that when calling the function, the argument list must match by name every parameter from the function declaration - though in an arbitrary order.
Order of Evaluation of Expressions
==================================