diff options
author | Lu Guanqun <guanqun.lu@gmail.com> | 2016-01-11 15:39:09 +0800 |
---|---|---|
committer | Lu Guanqun <guanqun.lu@gmail.com> | 2016-01-23 01:14:01 +0800 |
commit | 41039705ac1cb97e4174c735c160c3df5bc01722 (patch) | |
tree | b02e7748d3b3149d2b845303eb1faf1d366814ad /docs/control-structures.rst | |
parent | bf7daf0814ac17fece679a9d1aa187a8bdcf901b (diff) | |
download | dexon-solidity-41039705ac1cb97e4174c735c160c3df5bc01722.tar.gz dexon-solidity-41039705ac1cb97e4174c735c160c3df5bc01722.tar.zst dexon-solidity-41039705ac1cb97e4174c735c160c3df5bc01722.zip |
[cond-expr] add one doc about conditional expression
Diffstat (limited to 'docs/control-structures.rst')
-rw-r--r-- | docs/control-structures.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/control-structures.rst b/docs/control-structures.rst index c833fbfc..4becfcf1 100644 --- a/docs/control-structures.rst +++ b/docs/control-structures.rst @@ -9,7 +9,7 @@ Control Structures Most of the control structures from C/JavaScript are available in Solidity except for `switch` and `goto`. So -there is: `if`, `else`, `while`, `for`, `break`, `continue`, `return`, with +there is: `if`, `else`, `while`, `for`, `break`, `continue`, `return`, `? :`, with the usual semantics known from C / JavaScript. Parentheses can *not* be omitted for conditionals, but curly brances can be omitted |