From 90225d3585ea6eeb3e86741950780d4c8937de4f Mon Sep 17 00:00:00 2001 From: HansM Date: Sun, 17 Feb 2019 15:27:47 +0100 Subject: [PATCH] Added missing comments to statement(s) section in curlyBraces.adoc. --- .../Structure/Further Syntax/curlyBraces.adoc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Language/Structure/Further Syntax/curlyBraces.adoc b/Language/Structure/Further Syntax/curlyBraces.adoc index 33a53273d..897151e19 100644 --- a/Language/Structure/Further Syntax/curlyBraces.adoc +++ b/Language/Structure/Further Syntax/curlyBraces.adoc @@ -46,7 +46,7 @@ The main uses of curly braces are listed in the examples below. [source,arduino] ---- void myfunction(datatype argument){ - statements(s) + // any statements(s) } ---- [%hardbreaks] @@ -59,17 +59,17 @@ void myfunction(datatype argument){ ---- while (boolean expression) { - statement(s) + // any statements(s) } do { - statement(s) + // any statements(s) } while (boolean expression); for (initialisation; termination condition; incrementing expr) { - statement(s) + // any statements(s) } ---- [%hardbreaks] @@ -84,16 +84,16 @@ for (initialisation; termination condition; incrementing expr) ---- if (boolean expression) { - statement(s) + // any statements(s) } else if (boolean expression) { - statement(s) + // any statements(s) } else { - statement(s) + // any statements(s) } ---- [%hardbreaks] @@ -112,4 +112,4 @@ else [role="language"] -- -// SEE ALSO SECTION ENDS \ No newline at end of file +// SEE ALSO SECTION ENDS