Expression and control structures are summarized in the following 10 pointers. For more details, jump into the solidity documentation or ask a question at the Ethereum stack exchange forum:
- Input parameters of a contract are declared in the same way as variables. Output parameters are declared similar to input parameters just after the return keyword. Both can be used as an expression in the function body. Functions can return multiple outputs but must be the same as the number of output parameters.
- Like JavaScript, solidity has most of the familiar control structures, except go to and switch. Unlike C and JavaScript, solidity does not have a non-Boolean to Boolean type conversion yet.
- Recursive function ...