mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update control-structures.rst
This commit is contained in:
parent
e3e4d84f33
commit
1c81d2a481
@ -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
|
||||
==================================
|
||||
|
Loading…
Reference in New Issue
Block a user