From eff20bdeab3b040d04c846cc75dfda9f0ba9ebcd Mon Sep 17 00:00:00 2001 From: per1234 Date: Sun, 17 Feb 2019 13:10:54 -0800 Subject: [PATCH] Fix typos in comments of curly braces example code statements(s) -> statement(s) --- Language/Structure/Further Syntax/curlyBraces.adoc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Language/Structure/Further Syntax/curlyBraces.adoc b/Language/Structure/Further Syntax/curlyBraces.adoc index 897151e19..f1afa2706 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){ - // any statements(s) + // any statement(s) } ---- [%hardbreaks] @@ -59,17 +59,17 @@ void myfunction(datatype argument){ ---- while (boolean expression) { - // any statements(s) + // any statement(s) } do { - // any statements(s) + // any statement(s) } while (boolean expression); for (initialisation; termination condition; incrementing expr) { - // any statements(s) + // any statement(s) } ---- [%hardbreaks] @@ -84,16 +84,16 @@ for (initialisation; termination condition; incrementing expr) ---- if (boolean expression) { - // any statements(s) + // any statement(s) } else if (boolean expression) { - // any statements(s) + // any statement(s) } else { - // any statements(s) + // any statement(s) } ---- [%hardbreaks]