diff options
author | Mircea Moca <mocamircea@gmail.com> | 2016-08-16 15:41:50 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-16 15:41:50 +0800 |
commit | 1c81d2a481f5a4744fcbd041cdf72b206cb783e6 (patch) | |
tree | fd6ef88d05d1ce087e0e43cee3b4e1265112df3f | |
parent | e3e4d84f3353eaaaadae7c1c6eac9e890188d0f8 (diff) | |
download | dexon-solidity-1c81d2a481f5a4744fcbd041cdf72b206cb783e6.tar.gz dexon-solidity-1c81d2a481f5a4744fcbd041cdf72b206cb783e6.tar.zst dexon-solidity-1c81d2a481f5a4744fcbd041cdf72b206cb783e6.zip |
Update control-structures.rst
-rw-r--r-- | docs/control-structures.rst | 4 |
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 ================================== |