From 41039705ac1cb97e4174c735c160c3df5bc01722 Mon Sep 17 00:00:00 2001 From: Lu Guanqun Date: Mon, 11 Jan 2016 15:39:09 +0800 Subject: [cond-expr] add one doc about conditional expression --- docs/control-structures.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/control-structures.rst') 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 -- cgit